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.009716/0.009716, allocations: 100.5 kB / 15.73 MB, free: 6.051 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.001966/0.001966, allocations: 199.3 kB / 16.67 MB, free: 5.977 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.65/1.65, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3785/0.3785, allocations: 39.94 MB / 309.8 MB, free: 9.453 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.001521/0.001521, allocations: 75.91 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.36, allocations: 56.86 MB / 492.6 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01804/0.3781, allocations: 15.97 MB / 0.4967 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.3897, allocations: 3.853 MB / 0.5004 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00407/0.3938, allocations: 86.72 kB / 0.5005 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005704/0.3996, allocations: 3.098 MB / 0.5036 GB, free: 3.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005551/0.4051, allocations: 1.756 MB / 0.5053 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.4066, allocations: 464.5 kB / 0.5057 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006972/0.4136, allocations: 4.033 MB / 0.5097 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004803/0.4184, allocations: 3.614 MB / 0.5132 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004286/0.4227, allocations: 1.917 MB / 0.5151 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006254/0.429, allocations: 3.006 MB / 0.518 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00225/0.4313, allocations: 496 kB / 0.5185 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003903/0.4352, allocations: 0.9132 MB / 0.5194 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002664/0.4379, allocations: 2.26 MB / 0.5216 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004654/0.4426, allocations: 2.789 MB / 0.5243 GB, free: 4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.4535, allocations: 8.703 MB / 0.5328 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.597e-06/0.4535, allocations: 0 / 0.5328 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4535, allocations: 0 / 0.5328 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002654/0.4538, allocations: 4 kB / 0.5328 GB, free: 11.27 MB / 414.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.08845/0.5423, allocations: 11.1 MB / 0.5436 GB, free: 84 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.5423, allocations: 11.89 kB / 0.5436 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00754/0.5499, allocations: 1.865 MB / 0.5455 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00799/0.5579, allocations: 3.27 MB / 0.5487 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/0.5581, allocations: 299.5 kB / 0.5489 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001761/0.5599, allocations: 411.5 kB / 0.5493 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05433/0.6142, allocations: 19.55 MB / 0.5684 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002044/0.6145, allocations: 47.53 kB / 0.5685 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001626/0.6161, allocations: 179.9 kB / 0.5686 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005919/0.6221, allocations: 2.349 MB / 0.5709 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05672/0.6788, allocations: 22.39 MB / 0.5928 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4777/1.157, allocations: 52.35 MB / 0.6439 GB, free: 96.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07334/1.23, allocations: 9.164 MB / 0.6529 GB, free: 95.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004806/1.235, allocations: 3.029 MB / 0.6558 GB, free: 95.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001936/1.237, allocations: 361.1 kB / 0.6562 GB, free: 95.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/1.237, allocations: 60.56 kB / 0.6562 GB, free: 95.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=212): time 6.813e-06/1.237, allocations: 0 / 0.6562 GB, free: 95.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=212): time 0.1374/1.374, allocations: 16.1 MB / 0.672 GB, free: 93.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/1.374, allocations: 152.5 kB / 0.6721 GB, free: 93.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008705/1.383, allocations: 4.694 MB / 0.6767 GB, free: 90.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006891/1.384, allocations: 56.7 kB / 0.6767 GB, free: 90.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001897/1.386, allocations: 3.489 MB / 0.6801 GB, free: 87.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001103/1.387, allocations: 0.8415 MB / 0.681 GB, free: 86.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002547/1.389, allocations: 1.538 MB / 0.6825 GB, free: 86.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.39, allocations: 305 kB / 0.6828 GB, free: 85.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004274/1.394, allocations: 3.175 MB / 0.6859 GB, free: 84.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006498/1.4, allocations: 7.453 MB / 0.6931 GB, free: 75.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/1.411, allocations: 11.49 MB / 0.7044 GB, free: 62.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001712/1.412, allocations: 44 kB / 0.7044 GB, free: 62.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01661/1.428, allocations: 10.6 MB / 0.7148 GB, free: 51.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.67e-05/1.428, allocations: 72 kB / 0.7148 GB, free: 51.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/1.429, allocations: 156.1 kB / 0.715 GB, free: 51.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/1.429, allocations: 204 kB / 0.7152 GB, free: 51.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005707/1.434, allocations: 1.801 MB / 0.7169 GB, free: 49.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001839/1.435, allocations: 294.9 kB / 0.7172 GB, free: 49.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006196/1.441, allocations: 0.9247 MB / 0.7181 GB, free: 48.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007654/1.442, allocations: 0.523 MB / 0.7186 GB, free: 47.55 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003479/1.445, allocations: 2.306 MB / 0.7209 GB, free: 45.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007884/1.446, allocations: 405.4 kB / 0.7213 GB, free: 44.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00495/1.451, allocations: 4.873 MB / 0.726 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/1.451, allocations: 24 kB / 0.726 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.451, allocations: 0 / 0.726 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/1.451, allocations: 11.95 kB / 0.726 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/1.465, allocations: 11.53 MB / 0.7373 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/1.465, allocations: 8 kB / 0.7373 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002432/1.467, allocations: 0.6006 MB / 0.7379 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-05/1.467, allocations: 16 kB / 0.7379 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002324/1.468, allocations: 143.6 kB / 0.7381 GB, free: 27.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.431e-05/1.468, allocations: 24.52 kB / 0.7381 GB, free: 27.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.468, allocations: 11.94 kB / 0.7381 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008431/1.476, allocations: 8.901 MB / 0.7468 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/1.478, allocations: 0.507 MB / 0.7473 GB, free: 17.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004948/1.478, allocations: 51.98 kB / 0.7473 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.48, allocations: 79.98 kB / 0.7474 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003715/1.48, allocations: 244.7 kB / 0.7476 GB, free: 17.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/1.481, allocations: 167.2 kB / 0.7478 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003857/1.484, allocations: 2.95 MB / 0.7507 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.484, allocations: 480 / 0.7507 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006346/1.491, allocations: 1.37 MB / 0.752 GB, free: 13.08 MB / 0.4981 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 (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.0005434/1.491, allocations: 203.7 kB / 0.7522 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008941/1.5, allocations: 7.124 MB / 0.7592 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/1.5, allocations: 0 / 0.7592 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002552/1.503, allocations: 2.446 MB / 0.7616 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/1.507, allocations: 0.563 MB / 0.7621 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/1.529, allocations: 11.94 MB / 0.7738 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005808/1.535, allocations: 3.592 MB / 0.7773 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00662/1.541, allocations: 2.302 MB / 0.7795 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002247/1.544, allocations: 0.5925 MB / 0.7801 GB, free: 212 kB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/1.544, allocations: 0 / 0.7801 GB, free: 212 kB / 0.5137 GB Notification: Performance of Templates: time 0.1221/1.666, allocations: 56.17 MB / 0.835 GB, free: 8.156 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (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)