Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007774/0.007774, allocations: 101.5 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 195.7 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 58.53 kB / 326.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1042, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003229/0.1075, allocations: 1.759 MB / 374.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1087, allocations: 0.6823 MB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1089, allocations: 3.938 kB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.109, allocations: 15.86 kB / 375.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.605e-05/0.1091, allocations: 39.64 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1094, allocations: 39.88 kB / 375.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.1096, allocations: 131.4 kB / 375.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1097, allocations: 27.98 kB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/0.1098, allocations: 39.86 kB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.43e-05/0.1099, allocations: 47.78 kB / 375.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1099, allocations: 8 kB / 375.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.11, allocations: 23.98 kB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.11, allocations: 23.91 kB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/0.1101, allocations: 51.73 kB / 376 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.1103, allocations: 131.5 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1103, allocations: 0 / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1104, allocations: 0 / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1104, allocations: 4 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005607/0.1109, allocations: 403.3 kB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.111, allocations: 8.031 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.1112, allocations: 28.73 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1114, allocations: 188.3 kB / 376.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1115, allocations: 8.562 kB / 376.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.1115, allocations: 20.28 kB / 376.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.1117, allocations: 93.53 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.1118, allocations: 4 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1118, allocations: 4 kB / 376.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1118, allocations: 0 / 376.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.1119, allocations: 55.97 kB / 377 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.1128, allocations: 497.2 kB / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.1131, allocations: 74.59 kB / 377.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.1131, allocations: 32.83 kB / 377.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.1131, allocations: 0 / 377.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1132, allocations: 34.56 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.1132, allocations: 0 / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002599/0.1134, allocations: 93.59 kB / 377.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1135, allocations: 63.33 kB / 377.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.1136, allocations: 113.8 kB / 377.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1136, allocations: 29.64 kB / 377.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.1137, allocations: 115.8 kB / 378 MB, free: 12.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1137, allocations: 31.55 kB / 378 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.1138, allocations: 21.72 kB / 378.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1139, allocations: 322.8 kB / 378.4 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.114, allocations: 31.94 kB / 378.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-05/0.114, allocations: 51.36 kB / 378.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1142, allocations: 79.36 kB / 378.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1142, allocations: 0 / 378.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001784/0.1143, allocations: 113.5 kB / 378.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1144, allocations: 4 kB / 378.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.1144, allocations: 0 / 378.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1144, allocations: 4 kB / 378.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1145, allocations: 27.98 kB / 378.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.1146, allocations: 3.938 kB / 378.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.744e-05/0.1146, allocations: 7.938 kB / 378.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1146, allocations: 4 kB / 378.7 MB, free: 11.5 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.559e-05/0.1147, allocations: 125.9 kB / 378.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.1148, allocations: 11.89 kB / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.1148, allocations: 8.375 kB / 378.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1148, allocations: 0 / 378.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1148, allocations: 7.938 kB / 378.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1148, allocations: 0 / 378.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.1151, allocations: 205.8 kB / 379 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1151, allocations: 0 / 379 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.1152, allocations: 16 kB / 379.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1152, allocations: 8.078 kB / 379.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1152, allocations: 11.92 kB / 379.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1152, allocations: 0 / 379.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1153, allocations: 3.938 kB / 379.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.1155, allocations: 211.7 kB / 379.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.1156, allocations: 84.95 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1156, allocations: 0 / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.1157, allocations: 4 kB / 379.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.1157, allocations: 3.938 kB / 379.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1157, allocations: 16.03 kB / 379.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.7e-05/0.1158, allocations: 87.28 kB / 379.5 MB, free: 10.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1158, allocations: 3.938 kB / 379.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1161, allocations: 23.91 kB / 379.5 MB, free: 10.59 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001174/0.1162, allocations: 103.2 kB / 379.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.1164, allocations: 63.91 kB / 379.7 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1164, allocations: 0 / 379.7 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.572e-05/0.1164, allocations: 32.11 kB / 379.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.1168, allocations: 12 kB / 379.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008074/0.1176, allocations: 418.8 kB / 380.1 MB, free: 9.938 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.118, allocations: 0.7002 MB / 380.8 MB, free: 9.211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.835e-05/0.118, allocations: 8.438 kB / 380.8 MB, free: 9.203 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.1181, allocations: 11.44 kB / 380.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1181, allocations: 0 / 380.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of Templates: time 0.003721/0.1218, allocations: 0.9418 MB / 381.8 MB, free: 8.25 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1)