Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.007384/0.007383, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001402/0.001403, allocations: 198.9 kB / 16.67 MB, free: 5.98 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.481/1.481, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.356/0.356, allocations: 37.99 MB / 307.9 MB, free: 10.07 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.1. 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.001626/0.001626, allocations: 71.89 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3114, allocations: 56.48 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.0156/0.327, allocations: 15.94 MB / 0.4935 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.339, allocations: 3.867 MB / 0.4973 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004958/0.344, allocations: 81.69 kB / 0.4974 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00726/0.3513, allocations: 3.095 MB / 0.5004 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007882/0.3592, allocations: 1.753 MB / 0.5021 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.361, allocations: 477.8 kB / 0.5026 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008503/0.3696, allocations: 4.028 MB / 0.5065 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006257/0.3759, allocations: 3.596 MB / 0.51 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005134/0.381, allocations: 1.921 MB / 0.5119 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006533/0.3876, allocations: 3.003 MB / 0.5148 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002167/0.3898, allocations: 496.2 kB / 0.5153 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003546/0.3934, allocations: 0.9304 MB / 0.5162 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003442/0.3969, allocations: 2.247 MB / 0.5184 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007602/0.4045, allocations: 2.801 MB / 0.5212 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01532/0.4198, allocations: 8.699 MB / 0.5297 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.138e-05/0.42, allocations: 0 / 0.5297 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.42, allocations: 3.938 kB / 0.5297 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003262/0.4203, allocations: 0 / 0.5297 GB, free: 14.44 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.09129/0.5116, allocations: 11.1 MB / 0.5405 GB, free: 3.258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.5117, allocations: 15.89 kB / 0.5405 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008892/0.5206, allocations: 1.865 MB / 0.5423 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.5308, allocations: 3.274 MB / 0.5455 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/0.5311, allocations: 291.5 kB / 0.5458 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002818/0.5339, allocations: 407.6 kB / 0.5462 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06042/0.5943, allocations: 19.55 MB / 0.5653 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003648/0.5948, allocations: 47.44 kB / 0.5653 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003713/0.5985, allocations: 187.8 kB / 0.5655 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007178/0.6057, allocations: 2.342 MB / 0.5678 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05749/0.6632, allocations: 22.39 MB / 0.5897 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4151/1.078, allocations: 52.36 MB / 0.6408 GB, free: 96.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07303/1.151, allocations: 9.164 MB / 0.6497 GB, free: 95.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005157/1.157, allocations: 3.022 MB / 0.6527 GB, free: 95.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001966/1.159, allocations: 362.7 kB / 0.653 GB, free: 95.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/1.159, allocations: 59.2 kB / 0.6531 GB, free: 95.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=212): time 4.639e-06/1.159, allocations: 0 / 0.6531 GB, free: 95.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=212): time 0.1405/1.299, allocations: 16.1 MB / 0.6688 GB, free: 94.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.211e-05/1.299, allocations: 154.7 kB / 0.669 GB, free: 93.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006971/1.306, allocations: 4.701 MB / 0.6736 GB, free: 92.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006081/1.307, allocations: 56.83 kB / 0.6736 GB, free: 92.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002122/1.309, allocations: 3.483 MB / 0.677 GB, free: 89.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/1.31, allocations: 0.8444 MB / 0.6778 GB, free: 88.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002059/1.312, allocations: 1.543 MB / 0.6793 GB, free: 87.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.332e-05/1.313, allocations: 305.1 kB / 0.6796 GB, free: 87.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003559/1.316, allocations: 3.166 MB / 0.6827 GB, free: 86.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00533/1.321, allocations: 7.462 MB / 0.69 GB, free: 78.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/1.332, allocations: 11.49 MB / 0.7012 GB, free: 66.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001455/1.332, allocations: 44 kB / 0.7013 GB, free: 66.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01912/1.351, allocations: 10.61 MB / 0.7116 GB, free: 55.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002058/1.352, allocations: 68 kB / 0.7117 GB, free: 55.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003156/1.352, allocations: 152 kB / 0.7118 GB, free: 55.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/1.352, allocations: 200 kB / 0.712 GB, free: 55.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00693/1.359, allocations: 1.801 MB / 0.7138 GB, free: 53.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002756/1.359, allocations: 301.3 kB / 0.7141 GB, free: 52.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007922/1.367, allocations: 0.9279 MB / 0.715 GB, free: 52.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001872/1.369, allocations: 0.5037 MB / 0.7155 GB, free: 51.52 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.00574/1.375, allocations: 2.322 MB / 0.7177 GB, free: 49.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/1.377, allocations: 406.7 kB / 0.7181 GB, free: 48.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007641/1.384, allocations: 4.861 MB / 0.7229 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.786e-05/1.384, allocations: 27.52 kB / 0.7229 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/1.384, allocations: 0 / 0.7229 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/1.384, allocations: 15.67 kB / 0.7229 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/1.406, allocations: 11.53 MB / 0.7342 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-05/1.406, allocations: 8.938 kB / 0.7342 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002648/1.409, allocations: 0.5967 MB / 0.7348 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.182e-05/1.409, allocations: 23.94 kB / 0.7348 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003444/1.409, allocations: 147.8 kB / 0.7349 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.909e-05/1.409, allocations: 23.92 kB / 0.735 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.409, allocations: 11.94 kB / 0.735 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0088/1.418, allocations: 8.898 MB / 0.7437 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/1.42, allocations: 0.5109 MB / 0.7442 GB, free: 21.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.421, allocations: 43.98 kB / 0.7442 GB, free: 21.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/1.423, allocations: 87.98 kB / 0.7443 GB, free: 21.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003625/1.423, allocations: 236.7 kB / 0.7445 GB, free: 21.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002349/1.423, allocations: 163.8 kB / 0.7447 GB, free: 21.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003892/1.427, allocations: 2.954 MB / 0.7475 GB, free: 18.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.21e-07/1.427, allocations: 4 kB / 0.7476 GB, free: 18.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006904/1.434, allocations: 1.363 MB / 0.7489 GB, free: 17.04 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.0005963/1.435, allocations: 197.7 kB / 0.7491 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009353/1.444, allocations: 7.126 MB / 0.756 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.444, allocations: 4 kB / 0.756 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002496/1.447, allocations: 2.451 MB / 0.7584 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/1.45, allocations: 0.5518 MB / 0.759 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/1.471, allocations: 11.96 MB / 0.7706 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004054/1.475, allocations: 3.596 MB / 0.7742 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005725/1.481, allocations: 2.298 MB / 0.7764 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/1.482, allocations: 0.5847 MB / 0.777 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of SimCode: time 2.074e-06/1.482, allocations: 0 / 0.777 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.1181/1.601, allocations: 56.18 MB / 0.8318 GB, free: 12.12 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1)