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.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001203/0.001203, allocations: 187.4 kB / 16.14 MB, free: 6.703 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.667/1.667, allocations: 205.1 MB / 222 MB, free: 4.75 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.3156/0.3156, allocations: 37.98 MB / 307.3 MB, free: 10.04 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.001379/0.001379, allocations: 64.55 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1365, allocations: 56.46 MB / 431 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3021/0.4386, allocations: 85.89 MB / 0.5048 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04339/0.4821, allocations: 15.44 MB / 0.5199 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02075/0.5029, allocations: 357.1 kB / 0.5202 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007457/0.5104, allocations: 3.063 MB / 0.5232 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007137/0.5176, allocations: 1.639 MB / 0.5248 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.5192, allocations: 418.9 kB / 0.5252 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00963/0.5288, allocations: 5.818 MB / 0.5309 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005851/0.5347, allocations: 3.578 MB / 0.5344 GB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/0.5385, allocations: 1.682 MB / 0.536 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005781/0.5443, allocations: 3.113 MB / 0.5391 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001674/0.546, allocations: 327.6 kB / 0.5394 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003056/0.5491, allocations: 0.7998 MB / 0.5402 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002803/0.5519, allocations: 2.123 MB / 0.5422 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003859/0.5558, allocations: 2.653 MB / 0.5448 GB, free: 8.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.5673, allocations: 8.298 MB / 0.5529 GB, free: 248 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5673, allocations: 0 / 0.5529 GB, free: 248 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5673, allocations: 0 / 0.5529 GB, free: 248 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003196/0.5677, allocations: 0 / 0.5529 GB, free: 248 kB / 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.0877/0.6554, allocations: 11.11 MB / 0.5638 GB, free: 5.051 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.6554, allocations: 8.031 kB / 0.5638 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007148/0.6626, allocations: 1.853 MB / 0.5656 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008255/0.6709, allocations: 3.259 MB / 0.5688 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003179/0.6712, allocations: 291.6 kB / 0.5691 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003685/0.6749, allocations: 407.6 kB / 0.5694 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05939/0.7344, allocations: 19.54 MB / 0.5885 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001882/0.7346, allocations: 55.48 kB / 0.5886 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001473/0.7361, allocations: 187.8 kB / 0.5888 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005536/0.7416, allocations: 2.341 MB / 0.591 GB, free: 8.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05476/0.7964, allocations: 22.4 MB / 0.6129 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3496/1.146, allocations: 52.5 MB / 0.6642 GB, free: 115.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0716/1.218, allocations: 9.159 MB / 0.6731 GB, free: 113.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005499/1.223, allocations: 3.02 MB / 0.6761 GB, free: 113.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001767/1.225, allocations: 363.1 kB / 0.6764 GB, free: 113.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/1.225, allocations: 51 kB / 0.6765 GB, free: 113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=212): time 6.492e-06/1.225, allocations: 0 / 0.6765 GB, free: 113 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.1314/1.357, allocations: 16.11 MB / 0.6922 GB, free: 110.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.126e-05/1.357, allocations: 150.7 kB / 0.6923 GB, free: 110.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008713/1.365, allocations: 4.704 MB / 0.6969 GB, free: 109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006489/1.366, allocations: 52.3 kB / 0.697 GB, free: 108.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002153/1.368, allocations: 3.492 MB / 0.7004 GB, free: 106.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001551/1.37, allocations: 0.8396 MB / 0.7012 GB, free: 105.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001889/1.372, allocations: 1.545 MB / 0.7027 GB, free: 104.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.184e-05/1.372, allocations: 305.1 kB / 0.703 GB, free: 103.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003486/1.375, allocations: 3.168 MB / 0.7061 GB, free: 100.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006553/1.382, allocations: 7.465 MB / 0.7134 GB, free: 91.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/1.394, allocations: 11.48 MB / 0.7246 GB, free: 77.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001856/1.394, allocations: 44 kB / 0.7247 GB, free: 77.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01738/1.412, allocations: 10.61 MB / 0.735 GB, free: 66.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.412, allocations: 72 kB / 0.7351 GB, free: 66.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000166/1.412, allocations: 152 kB / 0.7352 GB, free: 66.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/1.412, allocations: 200 kB / 0.7354 GB, free: 66.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005934/1.418, allocations: 1.801 MB / 0.7372 GB, free: 64.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001558/1.418, allocations: 299.4 kB / 0.7375 GB, free: 64.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006891/1.425, allocations: 0.9318 MB / 0.7384 GB, free: 63.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/1.427, allocations: 0.5191 MB / 0.7389 GB, free: 63.02 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.004724/1.431, allocations: 2.306 MB / 0.7411 GB, free: 60.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/1.432, allocations: 406.7 kB / 0.7415 GB, free: 60.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005957/1.438, allocations: 4.861 MB / 0.7463 GB, free: 55.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.462e-05/1.438, allocations: 24 kB / 0.7463 GB, free: 55.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/1.438, allocations: 4 kB / 0.7463 GB, free: 55.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/1.438, allocations: 7.969 kB / 0.7463 GB, free: 55.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/1.455, allocations: 11.53 MB / 0.7576 GB, free: 43.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/1.455, allocations: 12 kB / 0.7576 GB, free: 43.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002703/1.458, allocations: 0.5889 MB / 0.7582 GB, free: 43.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-05/1.458, allocations: 17.12 kB / 0.7582 GB, free: 43.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002481/1.458, allocations: 148.5 kB / 0.7583 GB, free: 42.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.88e-05/1.458, allocations: 23.92 kB / 0.7583 GB, free: 42.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/1.458, allocations: 15.94 kB / 0.7583 GB, free: 42.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009293/1.468, allocations: 8.902 MB / 0.767 GB, free: 33.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.469, allocations: 0.5109 MB / 0.7675 GB, free: 33.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005498/1.47, allocations: 47.98 kB / 0.7676 GB, free: 33.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/1.472, allocations: 83.81 kB / 0.7677 GB, free: 33.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004339/1.472, allocations: 240.7 kB / 0.7679 GB, free: 33.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00025/1.473, allocations: 167.8 kB / 0.7681 GB, free: 32.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003999/1.477, allocations: 2.95 MB / 0.7709 GB, free: 29.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.477, allocations: 0 / 0.7709 GB, free: 29.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006598/1.483, allocations: 1.37 MB / 0.7723 GB, free: 28.55 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.000635/1.484, allocations: 193.2 kB / 0.7725 GB, free: 28.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009321/1.493, allocations: 7.102 MB / 0.7794 GB, free: 21.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/1.493, allocations: 4.938 kB / 0.7794 GB, free: 21.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002384/1.496, allocations: 2.438 MB / 0.7818 GB, free: 18.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004049/1.5, allocations: 0.5338 MB / 0.7823 GB, free: 18.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/1.521, allocations: 14.35 MB / 0.7963 GB, free: 3.867 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003612/1.525, allocations: 3.593 MB / 0.7998 GB, free: 244 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006654/1.531, allocations: 2.302 MB / 0.8021 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002048/1.533, allocations: 0.5846 MB / 0.8026 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/1.533, allocations: 0 / 0.8026 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.4128/1.946, allocations: 58.6 MB / 0.8599 GB, free: 154.8 MB / 0.5137 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)