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.002364/0.002364, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.639/1.639, allocations: 205.1 MB / 222.4 MB, free: 4.391 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.3292/0.3292, allocations: 39.94 MB / 309.7 MB, free: 9.582 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.001414/0.001414, allocations: 69.94 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1316, allocations: 56.88 MB / 434.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01648/0.1481, allocations: 15.95 MB / 450.4 MB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2967/0.4449, allocations: 3.849 MB / 454.3 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004459/0.4494, allocations: 83.81 kB / 454.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006441/0.4559, allocations: 3.098 MB / 457.5 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007085/0.463, allocations: 1.752 MB / 459.2 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.4649, allocations: 463.5 kB / 459.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006993/0.472, allocations: 4.025 MB / 463.7 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004519/0.4765, allocations: 3.615 MB / 467.3 MB, free: 34.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003911/0.4804, allocations: 1.886 MB / 469.2 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006941/0.4874, allocations: 3.006 MB / 472.2 MB, free: 33.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001794/0.4893, allocations: 496.6 kB / 472.7 MB, free: 33.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.4922, allocations: 0.9215 MB / 473.6 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002352/0.4945, allocations: 2.252 MB / 475.9 MB, free: 32.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003648/0.4982, allocations: 2.794 MB / 478.7 MB, free: 30.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.5099, allocations: 8.439 MB / 487.1 MB, free: 27.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.5099, allocations: 1.094 kB / 487.1 MB, free: 27.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.51, allocations: 0 / 487.1 MB, free: 27.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004418/0.5104, allocations: 0 / 487.1 MB, free: 27.38 MB / 382.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.09857/0.609, allocations: 11.1 MB / 498.2 MB, free: 24.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.6091, allocations: 12.73 kB / 498.2 MB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/0.6205, allocations: 1.862 MB / 0.4884 GB, free: 23.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/0.6319, allocations: 3.257 MB / 0.4915 GB, free: 20.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004339/0.6324, allocations: 289.5 kB / 0.4918 GB, free: 20.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004738/0.6371, allocations: 411.1 kB / 0.4922 GB, free: 20.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06317/0.7003, allocations: 19.55 MB / 0.5113 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004961/0.7009, allocations: 51.59 kB / 0.5113 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004504/0.7054, allocations: 187.2 kB / 0.5115 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006074/0.7115, allocations: 2.338 MB / 0.5138 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06319/0.7747, allocations: 22.38 MB / 0.5357 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08463/0.8594, allocations: 52.53 MB / 0.587 GB, free: 6.914 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0711/0.9306, allocations: 9.157 MB / 0.5959 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004338/0.935, allocations: 3.021 MB / 0.5989 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001743/0.9367, allocations: 356.5 kB / 0.5992 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.9368, allocations: 55.81 kB / 0.5993 GB, free: 10.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=212): time 5.039e-06/0.9368, allocations: 0 / 0.5993 GB, free: 10.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=212): time 0.1342/1.071, allocations: 16.11 MB / 0.615 GB, free: 10.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/1.071, allocations: 149.8 kB / 0.6151 GB, free: 9.875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007044/1.078, allocations: 4.69 MB / 0.6197 GB, free: 5.172 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006011/1.079, allocations: 53.7 kB / 0.6198 GB, free: 5.113 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002531/1.081, allocations: 3.492 MB / 0.6232 GB, free: 1.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002051/1.083, allocations: 0.8431 MB / 0.624 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3087/1.392, allocations: 1.534 MB / 0.6255 GB, free: 149.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/1.392, allocations: 308.4 kB / 0.6258 GB, free: 149 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006139/1.399, allocations: 3.173 MB / 0.6289 GB, free: 149 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009395/1.408, allocations: 7.46 MB / 0.6362 GB, free: 143.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01323/1.421, allocations: 11.49 MB / 0.6474 GB, free: 134.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002197/1.422, allocations: 43.77 kB / 0.6474 GB, free: 134.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02309/1.445, allocations: 10.61 MB / 0.6578 GB, free: 131.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003337/1.445, allocations: 70.66 kB / 0.6578 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005619/1.446, allocations: 152.6 kB / 0.658 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006471/1.446, allocations: 200.9 kB / 0.6582 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008122/1.454, allocations: 1.794 MB / 0.6599 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006461/1.455, allocations: 306.3 kB / 0.6602 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008493/1.464, allocations: 0.9249 MB / 0.6611 GB, free: 130.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002936/1.467, allocations: 0.5129 MB / 0.6616 GB, free: 130.7 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.009811/1.476, allocations: 2.315 MB / 0.6639 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002945/1.479, allocations: 402.9 kB / 0.6643 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/1.493, allocations: 4.867 MB / 0.669 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001045/1.493, allocations: 24.38 kB / 0.6691 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.022e-05/1.493, allocations: 3.938 kB / 0.6691 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.34e-05/1.493, allocations: 14.34 kB / 0.6691 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02813/1.521, allocations: 11.53 MB / 0.6803 GB, free: 123.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.4e-05/1.522, allocations: 8 kB / 0.6803 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002927/1.524, allocations: 0.6021 MB / 0.6809 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.282e-05/1.525, allocations: 12 kB / 0.6809 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004968/1.525, allocations: 152.2 kB / 0.6811 GB, free: 123.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.777e-05/1.525, allocations: 23.14 kB / 0.6811 GB, free: 123.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.525, allocations: 11.94 kB / 0.6811 GB, free: 123.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.536, allocations: 8.904 MB / 0.6898 GB, free: 115.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/1.538, allocations: 0.4998 MB / 0.6903 GB, free: 114.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001805/1.54, allocations: 49.97 kB / 0.6904 GB, free: 114.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003389/1.543, allocations: 79.98 kB / 0.6904 GB, free: 114.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005594/1.544, allocations: 240.1 kB / 0.6907 GB, free: 114.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004576/1.544, allocations: 165.6 kB / 0.6908 GB, free: 114.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00724/1.552, allocations: 2.954 MB / 0.6937 GB, free: 111.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.51e-07/1.552, allocations: 0 / 0.6937 GB, free: 111.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01182/1.563, allocations: 1.372 MB / 0.695 GB, free: 110.6 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.001193/1.565, allocations: 199.5 kB / 0.6952 GB, free: 110.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01576/1.581, allocations: 8.832 MB / 0.7039 GB, free: 101.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/1.581, allocations: 4.188 kB / 0.7039 GB, free: 101.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003168/1.584, allocations: 2.451 MB / 0.7063 GB, free: 99.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004734/1.589, allocations: 0.5596 MB / 0.7068 GB, free: 98.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/1.608, allocations: 12.09 MB / 0.7186 GB, free: 86.44 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003523/1.611, allocations: 3.596 MB / 0.7221 GB, free: 82.81 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005776/1.617, allocations: 2.302 MB / 0.7244 GB, free: 80.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/1.619, allocations: 0.5847 MB / 0.7249 GB, free: 79.92 MB / 494.1 MB Notification: Performance of SimCode: time 2.104e-06/1.619, allocations: 0 / 0.7249 GB, free: 79.92 MB / 494.1 MB Notification: Performance of Templates: time 0.1145/1.733, allocations: 60.24 MB / 0.7838 GB, free: 19.74 MB / 494.1 MB 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)