Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009655/0.0009655, allocations: 98.27 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.007407/0.007407, allocations: 170.6 kB / 16.27 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.617/1.617, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.3767/0.3767, allocations: 40.01 MB / 310.7 MB, free: 9.676 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.0005385/0.0005383, allocations: 12 kB / 379.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1328, allocations: 57.95 MB / 437.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3479/0.4807, allocations: 83.89 MB / 0.5091 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04589/0.5267, allocations: 15.4 MB / 0.5241 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02209/0.5488, allocations: 358.7 kB / 0.5244 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.5515, allocations: 0.5134 MB / 0.525 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007303/0.5588, allocations: 1.655 MB / 0.5266 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.5607, allocations: 409.2 kB / 0.527 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01064/0.5713, allocations: 5.817 MB / 0.5326 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01134/0.5827, allocations: 5.289 MB / 0.5378 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004939/0.5877, allocations: 1.349 MB / 0.5391 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007127/0.5949, allocations: 2.69 MB / 0.5417 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002139/0.5971, allocations: 188 kB / 0.5419 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.6005, allocations: 0.655 MB / 0.5426 GB, free: 12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003681/0.6042, allocations: 1.92 MB / 0.5444 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00576/0.61, allocations: 2.417 MB / 0.5468 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01487/0.6249, allocations: 8.046 MB / 0.5547 GB, free: 15.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.6249, allocations: 4 kB / 0.5547 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.625, allocations: 0 / 0.5547 GB, free: 15.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004138/0.6254, allocations: 0 / 0.5547 GB, free: 15.55 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.08649/0.7119, allocations: 9.346 MB / 0.5638 GB, free: 6.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.712, allocations: 8.031 kB / 0.5638 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008562/0.7205, allocations: 1.9 MB / 0.5657 GB, free: 4.215 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009456/0.73, allocations: 3.255 MB / 0.5688 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.7304, allocations: 287.6 kB / 0.5691 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00308/0.7335, allocations: 407.6 kB / 0.5695 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0606/0.7942, allocations: 19.58 MB / 0.5886 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003048/0.7945, allocations: 47.52 kB / 0.5887 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002834/0.7974, allocations: 191.8 kB / 0.5888 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006835/0.8042, allocations: 2.342 MB / 0.5911 GB, free: 9.348 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05984/0.8641, allocations: 22.43 MB / 0.613 GB, free: 2.883 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3929/1.257, allocations: 52.53 MB / 0.6643 GB, free: 112.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07601/1.333, allocations: 9.242 MB / 0.6734 GB, free: 110.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006653/1.34, allocations: 3.018 MB / 0.6763 GB, free: 110 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002078/1.342, allocations: 355.9 kB / 0.6766 GB, free: 109.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/1.342, allocations: 61.39 kB / 0.6767 GB, free: 109.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=212): time 6.502e-06/1.342, allocations: 0 / 0.6767 GB, free: 109.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.1411/1.483, allocations: 16.26 MB / 0.6926 GB, free: 107.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/1.483, allocations: 154.9 kB / 0.6927 GB, free: 107.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/1.495, allocations: 4.704 MB / 0.6973 GB, free: 105.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008102/1.496, allocations: 57.08 kB / 0.6974 GB, free: 105.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002894/1.499, allocations: 3.49 MB / 0.7008 GB, free: 103 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001752/1.5, allocations: 0.828 MB / 0.7016 GB, free: 102.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001842/1.502, allocations: 0.5741 MB / 0.7022 GB, free: 102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.385e-05/1.502, allocations: 308.4 kB / 0.7025 GB, free: 101.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004751/1.507, allocations: 3.168 MB / 0.7055 GB, free: 98.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006655/1.514, allocations: 7.465 MB / 0.7128 GB, free: 89.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/1.526, allocations: 11.48 MB / 0.724 GB, free: 75.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001292/1.526, allocations: 44 kB / 0.7241 GB, free: 75.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01888/1.545, allocations: 10.61 MB / 0.7345 GB, free: 64.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001736/1.545, allocations: 72.97 kB / 0.7345 GB, free: 64.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002882/1.545, allocations: 152 kB / 0.7347 GB, free: 64.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/1.545, allocations: 204 kB / 0.7349 GB, free: 64.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006153/1.552, allocations: 1.797 MB / 0.7366 GB, free: 62.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002291/1.552, allocations: 298.8 kB / 0.7369 GB, free: 62.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00719/1.559, allocations: 0.9239 MB / 0.7378 GB, free: 61.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001797/1.561, allocations: 0.5174 MB / 0.7383 GB, free: 60.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 852 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006321/1.567, allocations: 2.307 MB / 0.7406 GB, free: 58.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001629/1.569, allocations: 410.7 kB / 0.741 GB, free: 58.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007253/1.576, allocations: 4.861 MB / 0.7457 GB, free: 53.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.278e-05/1.576, allocations: 31.98 kB / 0.7457 GB, free: 53.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/1.576, allocations: 0 / 0.7457 GB, free: 53.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.158e-05/1.576, allocations: 7.969 kB / 0.7457 GB, free: 53.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/1.596, allocations: 11.53 MB / 0.757 GB, free: 41.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/1.596, allocations: 12 kB / 0.757 GB, free: 41.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002695/1.598, allocations: 0.5967 MB / 0.7576 GB, free: 40.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.159e-05/1.598, allocations: 20 kB / 0.7576 GB, free: 40.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/1.599, allocations: 147.8 kB / 0.7578 GB, free: 40.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.589e-05/1.599, allocations: 19.94 kB / 0.7578 GB, free: 40.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/1.599, allocations: 11.98 kB / 0.7578 GB, free: 40.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00881/1.607, allocations: 8.91 MB / 0.7665 GB, free: 31.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/1.609, allocations: 0.5109 MB / 0.767 GB, free: 31.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/1.61, allocations: 50.72 kB / 0.767 GB, free: 31.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002629/1.613, allocations: 79.98 kB / 0.7671 GB, free: 31.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000389/1.613, allocations: 236.7 kB / 0.7673 GB, free: 30.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000324/1.614, allocations: 167.8 kB / 0.7675 GB, free: 30.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004867/1.619, allocations: 2.95 MB / 0.7704 GB, free: 27.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.31e-07/1.619, allocations: 3.938 kB / 0.7704 GB, free: 27.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006774/1.625, allocations: 1.376 MB / 0.7717 GB, free: 26.34 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.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 (208): * Single equations (assignments): 205 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005777/1.626, allocations: 193.3 kB / 0.7719 GB, free: 26.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009018/1.635, allocations: 7.092 MB / 0.7788 GB, free: 19.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.635, allocations: 0 / 0.7788 GB, free: 19.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002785/1.638, allocations: 2.441 MB / 0.7812 GB, free: 16.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009129/1.647, allocations: 0.5322 MB / 0.7817 GB, free: 16.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/1.669, allocations: 14.66 MB / 0.796 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004678/1.674, allocations: 3.597 MB / 0.7996 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006584/1.681, allocations: 2.302 MB / 0.8018 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/1.683, allocations: 0.5925 MB / 0.8024 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/1.683, allocations: 0 / 0.8024 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.4072/2.09, allocations: 57.54 MB / 0.8586 GB, free: 151.5 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) Environment - environmentSimulation: