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.000846/0.0008458, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009109/0.0009111, allocations: 168.7 kB / 15.95 MB, free: 204 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.654/1.654, allocations: 205.4 MB / 222.1 MB, free: 5.613 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.3756/0.3756, allocations: 40 MB / 310.4 MB, free: 9.961 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.0005441/0.0005443, allocations: 16 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.149, allocations: 57.96 MB / 436.8 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002656/0.1517, allocations: 1.571 MB / 438.4 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008885/0.1526, allocations: 0.5116 MB / 438.9 MB, free: 460 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1528, allocations: 7.938 kB / 438.9 MB, free: 452 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.1529, allocations: 15.86 kB / 438.9 MB, free: 436 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.497e-05/0.153, allocations: 31.75 kB / 438.9 MB, free: 404 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.1532, allocations: 23.92 kB / 439 MB, free: 380 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.1534, allocations: 139.3 kB / 439.1 MB, free: 240 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.1536, allocations: 57.72 kB / 439.2 MB, free: 172 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1537, allocations: 47.8 kB / 439.2 MB, free: 124 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.1539, allocations: 51.77 kB / 439.2 MB, free: 72 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.1539, allocations: 11.98 kB / 439.3 MB, free: 60 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.215e-05/0.1539, allocations: 8 kB / 439.3 MB, free: 52 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.1539, allocations: 15.92 kB / 439.3 MB, free: 36 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.154, allocations: 49.64 kB / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.1542, allocations: 107.9 kB / 439.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1542, allocations: 0 / 439.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1542, allocations: 0 / 439.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1542, allocations: 4 kB / 439.4 MB, free: 15.87 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.0006086/0.1548, allocations: 414.8 kB / 439.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.1549, allocations: 8.031 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.155, allocations: 15.81 kB / 439.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.1552, allocations: 202.9 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.1552, allocations: 11.94 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.1553, allocations: 12 kB / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.1556, allocations: 133.6 kB / 440.2 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1556, allocations: 0 / 440.2 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.1556, allocations: 7.953 kB / 440.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1556, allocations: 4 kB / 440.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.1558, allocations: 87.94 kB / 440.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/0.1565, allocations: 484.1 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.1567, allocations: 110.5 kB / 440.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.1569, allocations: 64.83 kB / 441 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1569, allocations: 4 kB / 441 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1569, allocations: 30.56 kB / 441 MB, free: 14.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1569, allocations: 3.938 kB / 441 MB, free: 14.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001496/0.1584, allocations: 0.8111 MB / 441.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.1585, allocations: 59.41 kB / 441.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1586, allocations: 145.7 kB / 442 MB, free: 13.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1587, allocations: 29.7 kB / 442 MB, free: 12.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.1587, allocations: 112.3 kB / 442.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.167e-05/0.1588, allocations: 67 kB / 442.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.1588, allocations: 4 kB / 442.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.159, allocations: 322.8 kB / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.362e-05/0.1591, allocations: 48.34 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.1592, allocations: 80.16 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.1593, allocations: 51.94 kB / 442.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1593, allocations: 0 / 442.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003641/0.1597, allocations: 222 kB / 442.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1597, allocations: 8 kB / 442.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1597, allocations: 0 / 442.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.1599, allocations: 40.83 kB / 443 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.1601, allocations: 35.98 kB / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.1615, allocations: 1.557 MB / 444.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.1616, allocations: 4 kB / 444.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.1616, allocations: 12.06 kB / 444.6 MB, free: 10.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.1617, allocations: 133.7 kB / 444.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.1618, allocations: 15.8 kB / 444.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.1618, allocations: 17.19 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1618, allocations: 0 / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1619, allocations: 0 / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1619, allocations: 4 kB / 444.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007635/0.1626, allocations: 0.5544 MB / 445.3 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1626, allocations: 0 / 445.3 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.1628, allocations: 43.94 kB / 445.3 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.674e-05/0.1629, allocations: 32.84 kB / 445.4 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.163, allocations: 4 kB / 445.4 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.1641, allocations: 1.374 MB / 446.8 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.1641, allocations: 8.016 kB / 446.8 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.1646, allocations: 349.3 kB / 447.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.1647, allocations: 89.03 kB / 447.2 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1647, allocations: 4 kB / 447.2 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.1648, allocations: 11.94 kB / 447.2 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.1648, allocations: 7.984 kB / 447.2 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1649, allocations: 11.98 kB / 447.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.613e-05/0.1649, allocations: 107.2 kB / 447.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.165, allocations: 0 / 447.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.1653, allocations: 48 kB / 447.4 MB, free: 7.223 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000117/0.1654, allocations: 99.19 kB / 447.5 MB, free: 7.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004711/0.1659, allocations: 258.5 kB / 447.7 MB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1659, allocations: 4.062 kB / 447.7 MB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.1662, allocations: 198.1 kB / 447.9 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1665, allocations: 31.48 kB / 448 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008255/0.1674, allocations: 0.506 MB / 448.5 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.1677, allocations: 0.7246 MB / 449.2 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.074e-05/0.1677, allocations: 17.36 kB / 449.2 MB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.1678, allocations: 15.38 kB / 449.2 MB, free: 5.301 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1678, allocations: 4 kB / 449.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of Templates: time 0.004401/0.1722, allocations: 1.436 MB / 450.7 MB, free: 3.859 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: