Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001081, allocations: 84.38 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.001271/0.001271, 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.776/1.776, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.4213/0.4213, allocations: 40.01 MB / 310.4 MB, free: 9.973 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.0006246/0.0006246, allocations: 12 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1497, allocations: 57.95 MB / 436.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002182/0.1519, allocations: 1.514 MB / 438.3 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005198/0.1525, allocations: 143.5 kB / 438.4 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.1527, allocations: 4 kB / 438.4 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.64e-05/0.1528, allocations: 15.86 kB / 438.5 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.153, allocations: 47.61 kB / 438.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.1532, allocations: 27.97 kB / 438.5 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.1535, allocations: 179.1 kB / 438.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.1538, allocations: 53.58 kB / 438.8 MB, free: 0.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.154, allocations: 59.78 kB / 438.8 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.1541, allocations: 59.77 kB / 438.9 MB, free: 476 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.1542, allocations: 12 kB / 438.9 MB, free: 464 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.002e-05/0.1542, allocations: 8 kB / 438.9 MB, free: 456 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.1543, allocations: 27.86 kB / 438.9 MB, free: 428 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.869e-05/0.1544, allocations: 57.64 kB / 439 MB, free: 364 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1546, allocations: 131.9 kB / 439.1 MB, free: 232 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.1546, allocations: 0 / 439.1 MB, free: 232 kB / 366.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.1546, allocations: 0 / 439.1 MB, free: 232 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1546, allocations: 0 / 439.1 MB, free: 232 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007827/0.1554, allocations: 435.1 kB / 439.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.1555, allocations: 8.031 kB / 439.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.869e-05/0.1556, allocations: 23.77 kB / 439.6 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.1559, allocations: 206.8 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.1559, allocations: 12.33 kB / 439.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.156, allocations: 20 kB / 439.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.1564, allocations: 165.6 kB / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.1564, allocations: 3.906 kB / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.1564, allocations: 8 kB / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1565, allocations: 8 kB / 440 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.1567, allocations: 95.78 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.1578, allocations: 0.6112 MB / 440.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.1581, allocations: 129.1 kB / 440.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1582, allocations: 49.7 kB / 440.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1582, allocations: 4 kB / 440.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.028e-05/0.1583, allocations: 38.52 kB / 440.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/0.1583, allocations: 0 / 440.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008858/0.1592, allocations: 381.5 kB / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.1593, allocations: 77.48 kB / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1594, allocations: 129.9 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.1594, allocations: 33.64 kB / 441.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.1595, allocations: 132 kB / 441.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.1596, allocations: 63.12 kB / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.1596, allocations: 4 kB / 441.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1598, allocations: 330.8 kB / 442 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.928e-05/0.1599, allocations: 39.92 kB / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.16, allocations: 104.4 kB / 442.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.358e-05/0.1601, allocations: 55.94 kB / 442.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1601, allocations: 0 / 442.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003749/0.1605, allocations: 219.1 kB / 442.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1605, allocations: 7.953 kB / 442.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.1605, allocations: 4 kB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/0.1608, allocations: 45.7 kB / 442.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1609, allocations: 39.92 kB / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.1636, allocations: 2.72 MB / 445.3 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.1637, allocations: 15.88 kB / 445.3 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.1637, allocations: 8 kB / 445.3 MB, free: 9.449 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.1639, allocations: 145.8 kB / 445.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.164, allocations: 15.81 kB / 445.4 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.164, allocations: 16.72 kB / 445.5 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1641, allocations: 0 / 445.5 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.1641, allocations: 0 / 445.5 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.1641, allocations: 8.125 kB / 445.5 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.1645, allocations: 229.5 kB / 445.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1645, allocations: 0 / 445.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.1647, allocations: 31.98 kB / 445.7 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/0.1648, allocations: 49.69 kB / 445.8 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1649, allocations: 0 / 445.8 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.1674, allocations: 2.708 MB / 448.5 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1675, allocations: 3.953 kB / 448.5 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/0.1679, allocations: 384.3 kB / 448.9 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.168, allocations: 88.95 kB / 448.9 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1681, allocations: 8.156 kB / 448.9 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1682, allocations: 4 kB / 448.9 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.1682, allocations: 11.98 kB / 449 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.1683, allocations: 7.938 kB / 449 MB, free: 5.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.527e-05/0.1683, allocations: 103.2 kB / 449.1 MB, free: 5.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1683, allocations: 0 / 449.1 MB, free: 5.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004877/0.1688, allocations: 47.91 kB / 449.1 MB, free: 5.238 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001628/0.169, allocations: 107.2 kB / 449.2 MB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000627/0.1696, allocations: 341.1 kB / 449.6 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1697, allocations: 0 / 449.6 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.17, allocations: 289.8 kB / 449.8 MB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.1706, allocations: 31.92 kB / 449.9 MB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.1718, allocations: 0.7912 MB / 450.7 MB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.1722, allocations: 0.7242 MB / 451.4 MB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.333e-05/0.1723, allocations: 9.438 kB / 451.4 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.1723, allocations: 15.44 kB / 451.4 MB, free: 2.828 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1723, allocations: 0 / 451.4 MB, free: 2.828 MB / 382.1 MB Notification: Performance of Templates: time 0.004875/0.1772, allocations: 1.764 MB / 453.2 MB, free: 1.066 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) Environment - environmentSimulation: