Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 89.67 kB / 16.65 MB, free: 6.59 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.001255/0.001255, allocations: 182.5 kB / 17.56 MB, free: 6.203 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.544/1.544, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.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.0004569/0.000457, allocations: 8 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 47.58 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002337/0.1124, allocations: 1.489 MB / 329.8 MB, free: 2.266 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.114, allocations: 0.6593 MB / 330.5 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1141, allocations: 7.938 kB / 330.5 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.1143, allocations: 11.92 kB / 330.5 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.1144, allocations: 27.77 kB / 330.5 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.1147, allocations: 43.83 kB / 330.5 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1149, allocations: 115.4 kB / 330.7 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.1151, allocations: 29.38 kB / 330.7 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.272e-05/0.1152, allocations: 39.84 kB / 330.7 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1153, allocations: 43.78 kB / 330.8 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.1154, allocations: 4 kB / 330.8 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.814e-05/0.1155, allocations: 23.98 kB / 330.8 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.1155, allocations: 11.94 kB / 330.8 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.509e-05/0.1156, allocations: 77.42 kB / 330.9 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.1159, allocations: 139.7 kB / 331 MB, free: 1.023 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1159, allocations: 0 / 331 MB, free: 1.023 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.428e-06/0.1159, allocations: 0 / 331 MB, free: 1.023 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.1159, allocations: 0 / 331 MB, free: 1.023 MB / 270.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.0006584/0.1166, allocations: 391.5 kB / 331.4 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.1166, allocations: 8.031 kB / 331.4 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.1169, allocations: 32.73 kB / 331.4 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1171, allocations: 192.1 kB / 331.6 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.1172, allocations: 8.562 kB / 331.6 MB, free: 328 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.1172, allocations: 16.31 kB / 331.7 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.1175, allocations: 89.59 kB / 331.7 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1175, allocations: 0 / 331.7 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.1175, allocations: 8 kB / 331.8 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1175, allocations: 0 / 331.8 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1177, allocations: 63.97 kB / 331.8 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007361/0.1184, allocations: 451.7 kB / 332.3 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.1187, allocations: 102.6 kB / 332.4 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.1188, allocations: 32.78 kB / 332.4 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.1188, allocations: 8 kB / 332.4 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1188, allocations: 34.56 kB / 332.4 MB, free: 15.44 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.1188, allocations: 0 / 332.4 MB, free: 15.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001336/0.1202, allocations: 0.535 MB / 333 MB, free: 14.84 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.1202, allocations: 51.41 kB / 333 MB, free: 14.77 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1203, allocations: 130 kB / 333.1 MB, free: 14.63 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1204, allocations: 25.7 kB / 333.2 MB, free: 14.6 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.1204, allocations: 107.9 kB / 333.3 MB, free: 14.49 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.1205, allocations: 51.38 kB / 333.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.1205, allocations: 13.72 kB / 333.3 MB, free: 14.42 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1207, allocations: 322.8 kB / 333.6 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.736e-05/0.1207, allocations: 27.98 kB / 333.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.1208, allocations: 63.33 kB / 333.7 MB, free: 14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.121, allocations: 99.41 kB / 333.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.121, allocations: 0 / 333.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002114/0.1212, allocations: 141.4 kB / 334 MB, free: 13.74 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1213, allocations: 4 kB / 334 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1213, allocations: 0 / 334 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.1213, allocations: 4 kB / 334 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1214, allocations: 27.98 kB / 334 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1215, allocations: 4 kB / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.1215, allocations: 15.94 kB / 334 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1216, allocations: 4 kB / 334 MB, free: 13.68 MB / 286.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 (17): * Single equations (assignments): 17 * 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 0.0001049/0.1217, allocations: 121.8 kB / 334.2 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.1217, allocations: 7.906 kB / 334.2 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.107e-05/0.1218, allocations: 12.38 kB / 334.2 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1218, allocations: 7.984 kB / 334.2 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1218, allocations: 0 / 334.2 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1218, allocations: 7.875 kB / 334.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.1223, allocations: 420.1 kB / 334.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1223, allocations: 0 / 334.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.1225, allocations: 27.98 kB / 334.6 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1225, allocations: 3.938 kB / 334.6 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1225, allocations: 4 kB / 334.6 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1225, allocations: 4 kB / 334.6 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1225, allocations: 8 kB / 334.6 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.1229, allocations: 249 kB / 334.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.1229, allocations: 85.02 kB / 335 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.123, allocations: 7.938 kB / 335 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.123, allocations: 4 kB / 335 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.1231, allocations: 12.03 kB / 335 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1231, allocations: 0 / 335 MB, free: 12.61 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.261e-05/0.1232, allocations: 103.2 kB / 335.1 MB, free: 12.51 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1232, allocations: 0 / 335.1 MB, free: 12.51 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1234, allocations: 24 kB / 335.1 MB, free: 12.48 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (12): * Single equations (assignments): 12 * 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.0001277/0.1236, allocations: 95.25 kB / 335.2 MB, free: 12.38 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.1238, allocations: 79.91 kB / 335.3 MB, free: 12.3 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.1238, allocations: 4.125 kB / 335.3 MB, free: 12.3 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.735e-05/0.1238, allocations: 39.92 kB / 335.3 MB, free: 12.26 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1243, allocations: 19.94 kB / 335.4 MB, free: 12.24 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008648/0.1251, allocations: 0.5648 MB / 335.9 MB, free: 11.64 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1254, allocations: 0.7043 MB / 336.6 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.946e-05/0.1255, allocations: 9.172 kB / 336.6 MB, free: 10.9 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.1256, allocations: 11.44 kB / 336.6 MB, free: 10.89 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1256, allocations: 0 / 336.6 MB, free: 10.89 MB / 286.1 MB Notification: Performance of Templates: time 0.003749/0.1293, allocations: 1.062 MB / 337.7 MB, free: 9.836 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1)