Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.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",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002631/0.002631, allocations: 346.6 kB / 15.95 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.368/3.368, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.0035/0.0035, allocations: 225.1 kB / 397.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.452/0.452, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004627, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08203/0.08251, allocations: 48.7 MB / 0.6067 GB, free: 4.629 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3596/0.4422, allocations: 74.63 MB / 0.6796 GB, free: 37.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03729/0.4795, allocations: 14.02 MB / 0.6933 GB, free: 24.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01712/0.4967, allocations: 343.2 kB / 0.6936 GB, free: 23.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0126/0.5093, allocations: 3.612 MB / 0.6972 GB, free: 20.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03949/0.5489, allocations: 11.81 MB / 0.7087 GB, free: 8.211 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006603/0.5556, allocations: 487.4 kB / 0.7092 GB, free: 7.734 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007348/0.563, allocations: 4.774 MB / 0.7138 GB, free: 2.949 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008958/0.572, allocations: 4.518 MB / 0.7182 GB, free: 14.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.5752, allocations: 1.377 MB / 0.7196 GB, free: 13.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006295/0.5815, allocations: 2.656 MB / 0.7222 GB, free: 10.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001417/0.583, allocations: 184 kB / 0.7224 GB, free: 10.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.5857, allocations: 0.6125 MB / 0.723 GB, free: 9.699 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003139/0.5888, allocations: 1.85 MB / 0.7248 GB, free: 7.844 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001948/0.5908, allocations: 0.9908 MB / 0.7257 GB, free: 6.844 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.6022, allocations: 6.751 MB / 0.7323 GB, free: 80 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.6023, allocations: 0 / 0.7323 GB, free: 80 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6023, allocations: 0 / 0.7323 GB, free: 80 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002913/0.6026, allocations: 4 kB / 0.7323 GB, free: 76 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.1408/0.7434, allocations: 13.82 MB / 0.7458 GB, free: 2.168 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.7435, allocations: 12.03 kB / 0.7458 GB, free: 2.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/0.757, allocations: 2.171 MB / 0.748 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.7671, allocations: 3.022 MB / 0.7509 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000418/0.7676, allocations: 295.6 kB / 0.7512 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003298/0.7709, allocations: 411.5 kB / 0.7516 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3376/1.109, allocations: 15.1 MB / 0.7663 GB, free: 118.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003021/1.109, allocations: 56.7 kB / 0.7664 GB, free: 118 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00232/1.111, allocations: 181.5 kB / 0.7666 GB, free: 118 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007118/1.118, allocations: 1.789 MB / 0.7683 GB, free: 118 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06799/1.186, allocations: 15.27 MB / 0.7832 GB, free: 114.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1032/1.29, allocations: 48.38 MB / 0.8305 GB, free: 76.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08666/1.376, allocations: 7.165 MB / 0.8375 GB, free: 69.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006424/1.383, allocations: 2.849 MB / 0.8402 GB, free: 66.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01878/1.402, allocations: 6.753 MB / 0.8468 GB, free: 59.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/1.402, allocations: 51.55 kB / 0.8469 GB, free: 59.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 8.196e-06/1.402, allocations: 0 / 0.8469 GB, free: 59.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=176): time 0.02356/1.425, allocations: 3.74 MB / 0.8505 GB, free: 55.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/1.425, allocations: 149.5 kB / 0.8507 GB, free: 55.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02475/1.45, allocations: 4.768 MB / 0.8553 GB, free: 50.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005113/1.451, allocations: 51.19 kB / 0.8554 GB, free: 50.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.009534/1.46, allocations: 3.577 MB / 0.8589 GB, free: 47.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001397/1.462, allocations: 0.7243 MB / 0.8596 GB, free: 46.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007763/1.463, allocations: 128 kB / 0.8597 GB, free: 46.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005532/1.463, allocations: 0.5832 MB / 0.8603 GB, free: 45.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006043/1.469, allocations: 2.203 MB / 0.8624 GB, free: 43.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007986/1.477, allocations: 6.469 MB / 0.8687 GB, free: 34.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008003/1.485, allocations: 3.704 MB / 0.8724 GB, free: 31.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001183/1.485, allocations: 40 kB / 0.8724 GB, free: 31.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.02049/1.506, allocations: 8.459 MB / 0.8807 GB, free: 22.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/1.506, allocations: 75.94 kB / 0.8807 GB, free: 22.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001801/1.506, allocations: 152 kB / 0.8809 GB, free: 22.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/1.507, allocations: 220 kB / 0.8811 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/1.517, allocations: 1.622 MB / 0.8827 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003332/1.517, allocations: 294.9 kB / 0.8829 GB, free: 20.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01122/1.529, allocations: 0.9203 MB / 0.8838 GB, free: 19.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001713/1.53, allocations: 443.9 kB / 0.8843 GB, free: 18.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 39 (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.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 (846): * Single equations (assignments): 843 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006296/1.537, allocations: 2.299 MB / 0.8865 GB, free: 16.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/1.538, allocations: 398.8 kB / 0.8869 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00807/1.546, allocations: 2.533 MB / 0.8894 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.904e-05/1.546, allocations: 7.969 kB / 0.8894 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.546, allocations: 0 / 0.8894 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.548, allocations: 0.5031 MB / 0.8899 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/1.549, allocations: 28 kB / 0.8899 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003387/1.552, allocations: 60.56 kB / 0.89 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003898/1.553, allocations: 102.4 kB / 0.8901 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009735/1.562, allocations: 2.938 MB / 0.8929 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01214/1.575, allocations: 4.908 MB / 0.8977 GB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003208/1.578, allocations: 1.189 MB / 0.8989 GB, free: 3.875 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007986/1.586, allocations: 2.976 MB / 0.9018 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of Backend: time 9.92e-07/1.586, allocations: 4 kB / 0.9018 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01442/1.6, allocations: 4.095 MB / 0.9058 GB, free: 12.84 MB / 426.7 MB Notification: Performance of SimCode: time 0.3302/1.931, allocations: 12.99 MB / 0.9185 GB, free: 125.3 MB / 426.7 MB Notification: Performance of Templates: time 0.1715/2.102, allocations: 46.05 MB / 0.9634 GB, free: 106.1 MB / 426.7 MB