Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001407/0.001407, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001656/0.001656, allocations: 177.3 kB / 15.95 MB, free: 216 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.698/1.698, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3932/0.3932, allocations: 38.02 MB / 308.4 MB, free: 10.32 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.0007198/0.0007199, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1442, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002224/0.1465, allocations: 1.443 MB / 435.4 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006019/0.1471, allocations: 167.5 kB / 435.5 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.1473, allocations: 0 / 435.5 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.95e-05/0.1474, allocations: 11.92 kB / 435.5 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.1476, allocations: 63.8 kB / 435.6 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.1478, allocations: 31.91 kB / 435.6 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.148, allocations: 123.8 kB / 435.8 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.1482, allocations: 45.84 kB / 435.8 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.1484, allocations: 63.77 kB / 435.9 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1485, allocations: 59.72 kB / 435.9 MB, free: 3.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.1485, allocations: 8 kB / 435.9 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.022e-05/0.1486, allocations: 8 kB / 435.9 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.1486, allocations: 35.89 kB / 436 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.591e-05/0.1487, allocations: 57.64 kB / 436 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1489, allocations: 123.9 kB / 436.1 MB, free: 3.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1489, allocations: 4 kB / 436.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1489, allocations: 0 / 436.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1489, allocations: 0 / 436.2 MB, free: 3.328 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007032/0.1496, allocations: 431.1 kB / 436.6 MB, free: 2.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.1497, allocations: 16.03 kB / 436.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.1498, allocations: 19.77 kB / 436.6 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.1501, allocations: 202.8 kB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.1502, allocations: 16.27 kB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.1502, allocations: 16 kB / 436.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.1506, allocations: 165.6 kB / 437 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.1506, allocations: 4 kB / 437 MB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.1506, allocations: 7.938 kB / 437 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1506, allocations: 4 kB / 437 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.1508, allocations: 95.89 kB / 437.1 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.1519, allocations: 0.615 MB / 437.7 MB, free: 1.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.1521, allocations: 129.1 kB / 437.8 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.1521, allocations: 11.94 kB / 437.9 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1522, allocations: 30.56 kB / 437.9 MB, free: 1.402 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.1522, allocations: 0 / 437.9 MB, free: 1.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009239/0.1531, allocations: 385.3 kB / 438.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.1532, allocations: 81.11 kB / 438.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1533, allocations: 130.1 kB / 438.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1534, allocations: 25.7 kB / 438.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1535, allocations: 136 kB / 438.6 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.1535, allocations: 55.2 kB / 438.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.1535, allocations: 7.938 kB / 438.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1537, allocations: 326.8 kB / 439 MB, free: 180 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/0.1538, allocations: 35.98 kB / 439 MB, free: 144 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.1539, allocations: 100.6 kB / 439.1 MB, free: 12 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.1541, allocations: 56.39 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.1541, allocations: 0 / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003956/0.1545, allocations: 222.8 kB / 439.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1545, allocations: 8.25 kB / 439.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1545, allocations: 4 kB / 439.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003365/0.1549, allocations: 53.89 kB / 439.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.155, allocations: 43.91 kB / 439.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.1574, allocations: 2.72 MB / 442.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.905e-05/0.1575, allocations: 15.84 kB / 442.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.1575, allocations: 8 kB / 442.3 MB, free: 12.59 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.0001242/0.1576, allocations: 138.7 kB / 442.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.1577, allocations: 12.38 kB / 442.4 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.1577, allocations: 20.7 kB / 442.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1577, allocations: 3.984 kB / 442.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1577, allocations: 4 kB / 442.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1577, allocations: 0 / 442.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.1581, allocations: 233.4 kB / 442.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1581, allocations: 4 kB / 442.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.1582, allocations: 23.98 kB / 442.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/0.1584, allocations: 49.62 kB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1584, allocations: 16 kB / 442.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.1603, allocations: 2.724 MB / 445.5 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1603, allocations: 3.938 kB / 445.5 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.1607, allocations: 386.3 kB / 445.9 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.1608, allocations: 85.02 kB / 446 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1608, allocations: 4.062 kB / 446 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1609, allocations: 7.984 kB / 446 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1609, allocations: 15.98 kB / 446 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1609, allocations: 4 kB / 446 MB, free: 8.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.515e-05/0.161, allocations: 107.7 kB / 446.1 MB, free: 8.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.161, allocations: 0 / 446.1 MB, free: 8.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004313/0.1615, allocations: 47.91 kB / 446.1 MB, free: 8.355 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.0001139/0.1616, allocations: 103.2 kB / 446.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005113/0.1621, allocations: 345.3 kB / 446.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1621, allocations: 0 / 446.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.1624, allocations: 293.7 kB / 446.9 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.1628, allocations: 27.94 kB / 446.9 MB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1639, allocations: 0.7758 MB / 447.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.1643, allocations: 0.7281 MB / 448.4 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.4e-05/0.1643, allocations: 13.42 kB / 448.4 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.1644, allocations: 11.44 kB / 448.4 MB, free: 5.961 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1644, allocations: 4 kB / 448.4 MB, free: 5.957 MB / 382.1 MB Notification: Performance of Templates: time 0.005513/0.1699, allocations: 1.753 MB / 450.2 MB, free: 4.203 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) Environment - environmentSimulation: