Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.008049/0.008049, allocations: 105.4 kB / 15.74 MB, free: 6.488 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.001501/0.001501, allocations: 194.9 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.527/1.527, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.00126/0.00126, allocations: 54.98 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1024, allocations: 46.62 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003211/0.1057, allocations: 1.767 MB / 374.9 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.107, allocations: 0.6862 MB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.1072, allocations: 0 / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.1074, allocations: 15.8 kB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.1075, allocations: 39.7 kB / 375.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.1078, allocations: 43.81 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.108, allocations: 127.4 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1082, allocations: 37.33 kB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.446e-05/0.1083, allocations: 43.8 kB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1084, allocations: 51.77 kB / 376 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1085, allocations: 8 kB / 376 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-05/0.1086, allocations: 27.98 kB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.1086, allocations: 15.92 kB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.373e-05/0.1087, allocations: 47.81 kB / 376.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1089, allocations: 131.6 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1089, allocations: 3.938 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1089, allocations: 4 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1089, allocations: 0 / 376.2 MB, free: 14.28 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.0006547/0.1096, allocations: 407.4 kB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1097, allocations: 8.031 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.1099, allocations: 28.73 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.1102, allocations: 200.1 kB / 376.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1102, allocations: 8.562 kB / 376.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.1103, allocations: 12.38 kB / 376.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.1105, allocations: 97.53 kB / 376.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.1105, allocations: 4 kB / 376.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1105, allocations: 0 / 376.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1106, allocations: 3.984 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.1107, allocations: 67.95 kB / 377 MB, free: 13.37 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007562/0.1115, allocations: 451.5 kB / 377.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.1118, allocations: 98.58 kB / 377.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.955e-05/0.1118, allocations: 36.84 kB / 377.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.1119, allocations: 0 / 377.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1119, allocations: 34.56 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.1119, allocations: 4 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001393/0.1133, allocations: 0.5265 MB / 378.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.1134, allocations: 51.41 kB / 378.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1135, allocations: 130 kB / 378.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1135, allocations: 25.7 kB / 378.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.1136, allocations: 103.9 kB / 378.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.1136, allocations: 43.39 kB / 378.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.1137, allocations: 33.7 kB / 378.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1138, allocations: 318.8 kB / 378.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.1139, allocations: 35.83 kB / 378.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.817e-05/0.114, allocations: 59.41 kB / 378.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.1142, allocations: 96.19 kB / 379 MB, free: 11.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1142, allocations: 0 / 379 MB, free: 11.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001945/0.1144, allocations: 133.5 kB / 379.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1144, allocations: 8.312 kB / 379.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.1144, allocations: 4 kB / 379.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.1144, allocations: 0 / 379.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.1146, allocations: 39.92 kB / 379.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1146, allocations: 0 / 379.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.1147, allocations: 7.938 kB / 379.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1147, allocations: 11.94 kB / 379.2 MB, free: 10.92 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 (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.0001019/0.1148, allocations: 113.8 kB / 379.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.1148, allocations: 15.95 kB / 379.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.1149, allocations: 12.38 kB / 379.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1149, allocations: 4 kB / 379.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1149, allocations: 3.938 kB / 379.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1149, allocations: 3.938 kB / 379.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.1154, allocations: 424.1 kB / 379.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1155, allocations: 64 / 379.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1156, allocations: 35.92 kB / 379.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.1156, allocations: 3.938 kB / 379.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1156, allocations: 4 kB / 379.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1157, allocations: 3.984 kB / 379.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1157, allocations: 0 / 379.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.116, allocations: 245.1 kB / 380.1 MB, free: 9.977 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.116, allocations: 97.03 kB / 380.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1161, allocations: 3.938 kB / 380.2 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.74e-05/0.1162, allocations: 8.031 kB / 380.2 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.1162, allocations: 11.94 kB / 380.2 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1162, allocations: 0 / 380.2 MB, free: 9.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.488e-05/0.1163, allocations: 95.27 kB / 380.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1163, allocations: 0 / 380.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1165, allocations: 24 kB / 380.3 MB, free: 9.723 MB / 318.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.0001102/0.1167, allocations: 111.2 kB / 380.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1168, allocations: 79.86 kB / 380.5 MB, free: 9.527 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1169, allocations: 0 / 380.5 MB, free: 9.527 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.686e-05/0.1169, allocations: 39.92 kB / 380.5 MB, free: 9.488 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1173, allocations: 24.11 kB / 380.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.1181, allocations: 468.4 kB / 381 MB, free: 8.977 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.1184, allocations: 0.7041 MB / 381.7 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.861e-05/0.1185, allocations: 8.891 kB / 381.7 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.1185, allocations: 15.42 kB / 381.7 MB, free: 8.219 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1185, allocations: 0 / 381.7 MB, free: 8.219 MB / 318.1 MB Notification: Performance of Templates: time 0.003687/0.1222, allocations: 1.125 MB / 382.9 MB, free: 7.094 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1)