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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001165/0.001165, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.296/1.296, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001572/0.001572, allocations: 107.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.195/0.195, allocations: 38 MB / 300.4 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.896e-05, allocations: 7.984 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09882/0.09887, allocations: 48.7 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3591/0.458, allocations: 73.61 MB / 479.3 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.4584, allocations: 67.06 kB / 479.4 MB, free: 18.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00651/0.4649, allocations: 2.538 MB / 481.9 MB, free: 18.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4649, allocations: 0 / 481.9 MB, free: 18.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.4649, allocations: 3.5 kB / 481.9 MB, free: 18.14 MB / 330.7 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.0004688/0.4654, allocations: 414.9 kB / 482.3 MB, free: 17.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.4655, allocations: 10.12 kB / 482.3 MB, free: 17.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.4655, allocations: 21.97 kB / 482.3 MB, free: 17.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.4657, allocations: 179.1 kB / 482.5 MB, free: 17.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.4657, allocations: 14.75 kB / 482.5 MB, free: 17.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.4658, allocations: 18.59 kB / 482.6 MB, free: 17.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.4661, allocations: 159.9 kB / 482.7 MB, free: 17.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.4662, allocations: 7.219 kB / 482.7 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.4662, allocations: 9.125 kB / 482.7 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.4662, allocations: 8.844 kB / 482.7 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.4664, allocations: 87.86 kB / 482.8 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008816/0.4673, allocations: 0.6146 MB / 483.4 MB, free: 17.06 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.4676, allocations: 120.4 kB / 483.6 MB, free: 17.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/0.4677, allocations: 60.16 kB / 483.6 MB, free: 16.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.4677, allocations: 1.438 kB / 483.6 MB, free: 16.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.4678, allocations: 36.06 kB / 483.6 MB, free: 16.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 3.407e-06/0.4678, allocations: 0 / 483.6 MB, free: 16.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004503/0.4682, allocations: 157.2 kB / 483.8 MB, free: 16.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.4683, allocations: 79.08 kB / 483.9 MB, free: 16.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.4684, allocations: 122.1 kB / 484 MB, free: 16.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.4685, allocations: 25.7 kB / 484 MB, free: 16.65 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/0.4685, allocations: 135 kB / 484.2 MB, free: 16.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.4686, allocations: 58.61 kB / 484.2 MB, free: 16.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.4686, allocations: 5.125 kB / 484.2 MB, free: 16.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.4687, allocations: 320.6 kB / 484.5 MB, free: 16.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.4688, allocations: 37.03 kB / 484.6 MB, free: 16.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/0.4689, allocations: 110.1 kB / 484.7 MB, free: 16.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.331e-05/0.469, allocations: 46.83 kB / 484.7 MB, free: 16.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.469, allocations: 5.75 kB / 484.7 MB, free: 16.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000333/0.4693, allocations: 214.9 kB / 484.9 MB, free: 16.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4694, allocations: 5.312 kB / 484.9 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.4694, allocations: 5.453 kB / 484.9 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.4696, allocations: 50.8 kB / 485 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.4697, allocations: 38.33 kB / 485 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.4713, allocations: 2.709 MB / 487.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.828e-05/0.4714, allocations: 16.78 kB / 487.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.4714, allocations: 13.62 kB / 487.8 MB, free: 13.37 MB / 330.7 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 () * 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 6.176e-05/0.4715, allocations: 112.3 kB / 487.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.4715, allocations: 8.656 kB / 487.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.4716, allocations: 22.41 kB / 487.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4716, allocations: 5.766 kB / 487.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4716, allocations: 5.781 kB / 487.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4716, allocations: 2.344 kB / 487.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.4718, allocations: 235 kB / 488.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4719, allocations: 1.75 kB / 488.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.472, allocations: 26.31 kB / 488.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.4721, allocations: 45.28 kB / 488.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.4721, allocations: 6.25 kB / 488.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.4734, allocations: 2.708 MB / 490.9 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4734, allocations: 3.328 kB / 490.9 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.4738, allocations: 387 kB / 491.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.4738, allocations: 84.8 kB / 491.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.4738, allocations: 9.047 kB / 491.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.646e-05/0.4739, allocations: 2.688 kB / 491.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.474, allocations: 18.55 kB / 491.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.474, allocations: 1.906 kB / 491.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.405e-05/0.474, allocations: 106.3 kB / 491.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.474, allocations: 0 / 491.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000423/0.4744, allocations: 58.66 kB / 491.6 MB, free: 9.965 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete 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.0001085/0.4746, allocations: 94.89 kB / 491.7 MB, free: 9.875 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004248/0.475, allocations: 353.8 kB / 492 MB, free: 9.637 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.475, allocations: 0 / 492 MB, free: 9.637 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.4752, allocations: 278.5 kB / 492.3 MB, free: 9.414 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.4756, allocations: 29.12 kB / 492.3 MB, free: 9.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007118/0.4763, allocations: 0.5744 MB / 492.9 MB, free: 8.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.4765, allocations: 0.7275 MB / 493.6 MB, free: 8.297 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.379e-05/0.4766, allocations: 7.734 kB / 493.6 MB, free: 8.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.979e-05/0.4766, allocations: 15.16 kB / 493.7 MB, free: 8.289 MB / 330.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4766, allocations: 7.938 kB / 493.7 MB, free: 8.281 MB / 330.7 MB Notification: Performance of Templates: time 0.004646/0.4812, allocations: 1.764 MB / 495.4 MB, free: 8.152 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (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)