Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008439/0.000844, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0009627/0.0009628, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3195/0.3195, allocations: 38.03 MB / 308.4 MB, free: 10.36 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005527/0.000553, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1166, allocations: 57.53 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.00276/0.1194, allocations: 2.194 MB / 436.1 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1206, allocations: 0.6634 MB / 436.8 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.1209, allocations: 7.938 kB / 436.8 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.121, allocations: 31.77 kB / 436.9 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.1212, allocations: 75.39 kB / 436.9 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1215, allocations: 63.86 kB / 437 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.1218, allocations: 302.6 kB / 437.3 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.122, allocations: 69.5 kB / 437.4 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.1222, allocations: 111.6 kB / 437.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.1224, allocations: 119.5 kB / 437.6 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.1225, allocations: 12 kB / 437.6 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.635e-05/0.1225, allocations: 12 kB / 437.6 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.953e-05/0.1225, allocations: 47.78 kB / 437.6 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.212e-05/0.1226, allocations: 69.58 kB / 437.7 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1228, allocations: 211.7 kB / 437.9 MB, free: 1.566 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1228, allocations: 4 kB / 437.9 MB, free: 1.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1228, allocations: 0 / 437.9 MB, free: 1.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.1229, allocations: 0 / 437.9 MB, free: 1.562 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008645/0.1237, allocations: 0.5456 MB / 438.5 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1238, allocations: 8.031 kB / 438.5 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.391e-05/0.1239, allocations: 31.62 kB / 438.5 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.1243, allocations: 255.4 kB / 438.8 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.1243, allocations: 24.56 kB / 438.8 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.1244, allocations: 27.91 kB / 438.8 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/0.1252, allocations: 285.9 kB / 439.1 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/0.1252, allocations: 8 kB / 439.1 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.1253, allocations: 15.95 kB / 439.1 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.1253, allocations: 7.984 kB / 439.1 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006225/0.1259, allocations: 199.8 kB / 439.3 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.1283, allocations: 1.317 MB / 440.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.1289, allocations: 258.5 kB / 440.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.1292, allocations: 107.4 kB / 441 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1292, allocations: 7.938 kB / 441 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1293, allocations: 46.44 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.564e-06/0.1293, allocations: 0 / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.003465/0.1327, allocations: 1.619 MB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.1329, allocations: 140.5 kB / 442.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.1332, allocations: 220.9 kB / 443 MB, free: 11.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.1332, allocations: 33.7 kB / 443 MB, free: 11.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.1334, allocations: 176.2 kB / 443.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.1335, allocations: 122.3 kB / 443.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.1335, allocations: 8 kB / 443.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1337, allocations: 338.8 kB / 443.7 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.1341, allocations: 110 kB / 443.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.1346, allocations: 249.3 kB / 444 MB, free: 10.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.1351, allocations: 143.9 kB / 444.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1351, allocations: 0 / 444.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001131/0.1362, allocations: 417.2 kB / 444.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.1363, allocations: 11.98 kB / 444.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.1363, allocations: 4 kB / 444.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.1363, allocations: 8 kB / 444.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005719/0.1369, allocations: 112.2 kB / 444.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.1369, allocations: 8.781 kB / 444.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.1373, allocations: 31.98 kB / 444.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.1374, allocations: 19.98 kB / 444.8 MB, free: 10.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001988/0.1376, allocations: 161.6 kB / 444.9 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.1377, allocations: 27.72 kB / 445 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.711e-05/0.1378, allocations: 29.7 kB / 445 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.1379, allocations: 8 kB / 445 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.1379, allocations: 7.953 kB / 445 MB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1379, allocations: 0 / 445 MB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.1401, allocations: 1.005 MB / 446 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1401, allocations: 0 / 446 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.1406, allocations: 91.94 kB / 446.1 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.1406, allocations: 4 kB / 446.1 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.1407, allocations: 8 kB / 446.1 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1407, allocations: 0 / 446.1 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.1407, allocations: 4.438 kB / 446.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.1421, allocations: 0.7719 MB / 446.9 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1422, allocations: 108.7 kB / 447 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.615e-05/0.1423, allocations: 12.34 kB / 447 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/0.1427, allocations: 19.98 kB / 447 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.419e-05/0.1428, allocations: 23.97 kB / 447 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.1429, allocations: 11.94 kB / 447.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.1431, allocations: 164.5 kB / 447.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1431, allocations: 0 / 447.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008089/0.1439, allocations: 64 kB / 447.3 MB, free: 7.469 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001263/0.1441, allocations: 103.2 kB / 447.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009473/0.145, allocations: 304.3 kB / 447.7 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.145, allocations: 3.938 kB / 447.7 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.1455, allocations: 135.8 kB / 447.8 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/0.1465, allocations: 48.55 kB / 447.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.1486, allocations: 1.07 MB / 448.9 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.1492, allocations: 0.7683 MB / 449.7 MB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.1494, allocations: 38.94 kB / 449.7 MB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.1495, allocations: 23.44 kB / 449.8 MB, free: 4.906 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1495, allocations: 0 / 449.8 MB, free: 4.906 MB / 382.1 MB Notification: Performance of Templates: time 0.007607/0.1571, allocations: 2.092 MB / 451.9 MB, free: 2.816 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) Environment - environmentSimulation: