Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") 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.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002344/0.002348, allocations: 186.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.513/2.513, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001559/0.001559, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2779/0.2779, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007248/0.0007249, allocations: 16 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1406, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.428/0.5687, allocations: 73.51 MB / 0.5505 GB, free: 6.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04475/0.6135, allocations: 15.68 MB / 0.5658 GB, free: 11.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01845/0.632, allocations: 355.1 kB / 0.5662 GB, free: 11.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01442/0.6465, allocations: 3.659 MB / 0.5697 GB, free: 9.078 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04431/0.6909, allocations: 10.27 MB / 0.5798 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005481/0.6964, allocations: 488.2 kB / 0.5802 GB, free: 208 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006925/0.7034, allocations: 2.409 MB / 0.5826 GB, free: 13.79 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01032/0.7138, allocations: 4.498 MB / 0.587 GB, free: 9.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002981/0.7168, allocations: 1.187 MB / 0.5881 GB, free: 8.059 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004626/0.7215, allocations: 1.998 MB / 0.5901 GB, free: 6.055 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.7228, allocations: 188 kB / 0.5903 GB, free: 5.871 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.7254, allocations: 0.5579 MB / 0.5908 GB, free: 5.312 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003209/0.7286, allocations: 1.738 MB / 0.5925 GB, free: 3.57 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002151/0.7308, allocations: 0.9907 MB / 0.5935 GB, free: 2.57 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.7419, allocations: 6.723 MB / 0.6001 GB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.742, allocations: 4 kB / 0.6001 GB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.742, allocations: 0 / 0.6001 GB, free: 11.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002776/0.7423, allocations: 0 / 0.6001 GB, free: 11.83 MB / 410.7 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.1885/0.9309, allocations: 9.662 MB / 0.6095 GB, free: 2.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0002471/0.9312, allocations: 8.031 kB / 0.6095 GB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02506/0.9563, allocations: 2.181 MB / 0.6116 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01668/0.9731, allocations: 3.131 MB / 0.6147 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004439/0.9736, allocations: 287.6 kB / 0.615 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003268/0.9769, allocations: 411.5 kB / 0.6154 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09433/1.071, allocations: 19.53 MB / 0.6344 GB, free: 7.766 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002636/1.072, allocations: 55.42 kB / 0.6345 GB, free: 7.711 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002533/1.074, allocations: 183.8 kB / 0.6347 GB, free: 7.531 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01096/1.085, allocations: 2.342 MB / 0.6369 GB, free: 5.188 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1008/1.186, allocations: 22.39 MB / 0.6588 GB, free: 14.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1259/1.312, allocations: 52.45 MB / 0.71 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4677/1.78, allocations: 9.186 MB / 0.719 GB, free: 184.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00356/1.783, allocations: 344 kB / 0.7193 GB, free: 184.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.638e-05/1.783, allocations: 55.69 kB / 0.7194 GB, free: 184.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=212): time 6.232e-06/1.783, allocations: 1.625 kB / 0.7194 GB, free: 184.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=212): time 0.2924/2.076, allocations: 16.37 MB / 0.7354 GB, free: 183.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.196e-05/2.076, allocations: 149 kB / 0.7355 GB, free: 182.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/2.086, allocations: 4.667 MB / 0.7401 GB, free: 181.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005831/2.087, allocations: 58.06 kB / 0.7401 GB, free: 181.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002814/2.089, allocations: 3.383 MB / 0.7434 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001519/2.091, allocations: 0.8372 MB / 0.7443 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008296/2.092, allocations: 130.8 kB / 0.7444 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005287/2.092, allocations: 0.5953 MB / 0.745 GB, free: 177.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006998/2.099, allocations: 3.143 MB / 0.748 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009325/2.109, allocations: 7.406 MB / 0.7553 GB, free: 170 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009581/2.118, allocations: 4.703 MB / 0.7599 GB, free: 166 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001556/2.119, allocations: 44 kB / 0.7599 GB, free: 166 MB / 0.5105 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02373/2.142, allocations: 10.39 MB / 0.77 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/2.143, allocations: 80.02 kB / 0.7701 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/2.143, allocations: 152 kB / 0.7703 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002217/2.143, allocations: 224 kB / 0.7705 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01167/2.155, allocations: 1.797 MB / 0.7722 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002908/2.155, allocations: 302.8 kB / 0.7725 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008859/2.164, allocations: 0.9278 MB / 0.7734 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/2.166, allocations: 0.5123 MB / 0.7739 GB, free: 151.9 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005638/2.171, allocations: 2.308 MB / 0.7762 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/2.172, allocations: 407.4 kB / 0.7766 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/2.183, allocations: 4.853 MB / 0.7813 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.21e-05/2.183, allocations: 24 kB / 0.7813 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/2.183, allocations: 3.953 kB / 0.7813 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-05/2.183, allocations: 23.89 kB / 0.7814 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02581/2.209, allocations: 11.52 MB / 0.7926 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.72e-05/2.209, allocations: 8 kB / 0.7926 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005695/2.214, allocations: 0.6005 MB / 0.7932 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-05/2.214, allocations: 20 kB / 0.7932 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006034/2.215, allocations: 147.8 kB / 0.7934 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.337e-05/2.215, allocations: 14.56 kB / 0.7934 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/2.215, allocations: 15.94 kB / 0.7934 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/2.231, allocations: 9.835 MB / 0.803 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/2.232, allocations: 0.507 MB / 0.8035 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/2.234, allocations: 48 kB / 0.8035 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006758/2.241, allocations: 88.67 kB / 0.8036 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/2.242, allocations: 240.9 kB / 0.8039 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006831/2.243, allocations: 157.1 kB / 0.804 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008546/2.251, allocations: 2.927 MB / 0.8069 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.51e-07/2.251, allocations: 0 / 0.8069 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007734/2.259, allocations: 1.381 MB / 0.8082 GB, free: 116.2 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007188/2.26, allocations: 183.5 kB / 0.8084 GB, free: 116 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01345/2.273, allocations: 7.06 MB / 0.8153 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/2.273, allocations: 4 kB / 0.8153 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00433/2.278, allocations: 2.444 MB / 0.8177 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003449/2.281, allocations: 500 kB / 0.8181 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02708/2.308, allocations: 14.62 MB / 0.8324 GB, free: 91.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006281/2.315, allocations: 3.694 MB / 0.836 GB, free: 87.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003251/2.318, allocations: 0.6355 MB / 0.8366 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of SimCode: time 1.863e-06/2.318, allocations: 0 / 0.8366 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of Templates: time 0.1354/2.453, allocations: 72.66 MB / 0.9076 GB, free: 14.21 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1)