Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009071/0.009071, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.62/1.62, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3927/0.3927, allocations: 40 MB / 310.7 MB, free: 9.922 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.2. 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.000577/0.0005771, allocations: 16 kB / 379.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1435, allocations: 57.96 MB / 437.4 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.00248/0.146, allocations: 1.601 MB / 439 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000823/0.1468, allocations: 0.523 MB / 439.5 MB, free: 76 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.372e-05/0.147, allocations: 7.938 kB / 439.5 MB, free: 68 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.1471, allocations: 15.91 kB / 439.6 MB, free: 52 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.192e-05/0.1472, allocations: 39.64 kB / 439.6 MB, free: 12 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.1474, allocations: 31.95 kB / 439.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1476, allocations: 139.3 kB / 439.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.1478, allocations: 61.95 kB / 439.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1479, allocations: 51.73 kB / 439.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.148, allocations: 55.77 kB / 439.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.148, allocations: 4 kB / 439.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.283e-05/0.1481, allocations: 11.94 kB / 439.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.1481, allocations: 23.91 kB / 440 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.613e-05/0.1482, allocations: 81.38 kB / 440 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.1484, allocations: 143.7 kB / 440.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1484, allocations: 0 / 440.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1484, allocations: 4 kB / 440.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1484, allocations: 0 / 440.2 MB, free: 15.4 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006134/0.149, allocations: 411 kB / 440.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1491, allocations: 12.03 kB / 440.6 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.1492, allocations: 12.75 kB / 440.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.1494, allocations: 204.1 kB / 440.8 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1494, allocations: 12.38 kB / 440.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.1495, allocations: 16.38 kB / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.1498, allocations: 133.7 kB / 441 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1498, allocations: 0 / 441 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.1498, allocations: 4 kB / 441 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1498, allocations: 4 kB / 441 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.15, allocations: 87.94 kB / 441.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.1508, allocations: 492 kB / 441.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.151, allocations: 118.5 kB / 441.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.1511, allocations: 64.83 kB / 441.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.1512, allocations: 0 / 441.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.1512, allocations: 30.56 kB / 441.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.1512, allocations: 3.938 kB / 441.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.00152/0.1528, allocations: 0.8184 MB / 442.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.1528, allocations: 59.34 kB / 442.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1529, allocations: 141.4 kB / 442.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.153, allocations: 33.7 kB / 442.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.1531, allocations: 108.3 kB / 442.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.1531, allocations: 63.09 kB / 443 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1532, allocations: 21.72 kB / 443 MB, free: 12.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1533, allocations: 326.8 kB / 443.3 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-05/0.1534, allocations: 43.98 kB / 443.4 MB, free: 11.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1535, allocations: 87.28 kB / 443.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.1538, allocations: 131.3 kB / 443.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1538, allocations: 8 kB / 443.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003687/0.1541, allocations: 202.2 kB / 443.8 MB, free: 11.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1542, allocations: 8 kB / 443.8 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1542, allocations: 3.938 kB / 443.8 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.1544, allocations: 48.83 kB / 443.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.1546, allocations: 40.02 kB / 443.9 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.156, allocations: 1.549 MB / 445.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.497e-05/0.1561, allocations: 12.02 kB / 445.4 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.1562, allocations: 11.98 kB / 445.4 MB, free: 9.668 MB / 382.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): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.1563, allocations: 137.7 kB / 445.6 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.1563, allocations: 11.91 kB / 445.6 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.1564, allocations: 17.19 kB / 445.6 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1564, allocations: 4.062 kB / 445.6 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1564, allocations: 4 kB / 445.6 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1564, allocations: 3.984 kB / 445.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007738/0.1572, allocations: 0.5583 MB / 446.2 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1572, allocations: 0 / 446.2 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.1574, allocations: 35.97 kB / 446.2 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.1575, allocations: 32.84 kB / 446.2 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1575, allocations: 192 / 446.2 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.1586, allocations: 1.382 MB / 447.6 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1586, allocations: 3.938 kB / 447.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/0.1591, allocations: 352.9 kB / 448 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.1592, allocations: 88.95 kB / 448.1 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.1592, allocations: 4 kB / 448.1 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.1593, allocations: 8 kB / 448.1 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.1593, allocations: 20.05 kB / 448.1 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.1594, allocations: 12.05 kB / 448.1 MB, free: 6.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.548e-05/0.1594, allocations: 107.3 kB / 448.2 MB, free: 6.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1594, allocations: 0 / 448.2 MB, free: 6.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.1598, allocations: 36 kB / 448.2 MB, free: 6.617 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001059/0.1599, allocations: 103.2 kB / 448.3 MB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004795/0.1604, allocations: 275 kB / 448.6 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1604, allocations: 0 / 448.6 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.1606, allocations: 194.6 kB / 448.8 MB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.161, allocations: 27.16 kB / 448.8 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009011/0.1619, allocations: 0.5371 MB / 449.4 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1623, allocations: 0.7129 MB / 450.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.269e-05/0.1624, allocations: 17.42 kB / 450.1 MB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.1625, allocations: 15.44 kB / 450.1 MB, free: 4.668 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1625, allocations: 0 / 450.1 MB, free: 4.668 MB / 382.1 MB Notification: Performance of Templates: time 0.004838/0.1673, allocations: 1.495 MB / 451.6 MB, free: 3.172 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) Environment - environmentSimulation: