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.0007856/0.0007858, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008709/0.000871, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3048/0.3048, allocations: 38.04 MB / 308.4 MB, free: 10.41 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.0006181/0.0006183, allocations: 20 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1071, allocations: 57.52 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.2686/0.3757, allocations: 77.98 MB / 0.4999 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03776/0.4136, allocations: 14.89 MB / 0.5145 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01808/0.4317, allocations: 355.9 kB / 0.5148 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01383/0.4455, allocations: 4.022 MB / 0.5187 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03692/0.4825, allocations: 11.19 MB / 0.5297 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004096/0.4866, allocations: 459.5 kB / 0.5301 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008579/0.4952, allocations: 4.743 MB / 0.5347 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006795/0.5021, allocations: 4.532 MB / 0.5392 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.5053, allocations: 1.413 MB / 0.5405 GB, free: 15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004589/0.5099, allocations: 2.657 MB / 0.5431 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.511, allocations: 188 kB / 0.5433 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.5131, allocations: 0.5657 MB / 0.5439 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002181/0.5153, allocations: 1.854 MB / 0.5457 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.517, allocations: 0.9946 MB / 0.5467 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009914/0.5269, allocations: 6.735 MB / 0.5532 GB, free: 2.203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.527, allocations: 0 / 0.5532 GB, free: 2.203 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.527, allocations: 0 / 0.5532 GB, free: 2.203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003548/0.5274, allocations: 0 / 0.5532 GB, free: 2.203 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.06573/0.5931, allocations: 9.357 MB / 0.5624 GB, free: 8.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.5932, allocations: 11.97 kB / 0.5624 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006826/0.6, allocations: 1.911 MB / 0.5642 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00642/0.6065, allocations: 3.186 MB / 0.5674 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.6068, allocations: 295.5 kB / 0.5676 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001778/0.6085, allocations: 411.5 kB / 0.568 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04915/0.6577, allocations: 19.53 MB / 0.5871 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000168/0.6579, allocations: 47.59 kB / 0.5872 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001546/0.6595, allocations: 179.9 kB / 0.5873 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00491/0.6644, allocations: 2.338 MB / 0.5896 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05048/0.7149, allocations: 22.37 MB / 0.6114 GB, free: 5.703 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2891/1.004, allocations: 52.51 MB / 0.6627 GB, free: 115.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05399/1.058, allocations: 9.176 MB / 0.6717 GB, free: 113.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005019/1.063, allocations: 3.023 MB / 0.6746 GB, free: 112.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/1.065, allocations: 363.8 kB / 0.675 GB, free: 112.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/1.065, allocations: 59.89 kB / 0.675 GB, free: 112.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=212): time 5.29e-06/1.065, allocations: 1.375 kB / 0.675 GB, free: 112.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.1094/1.174, allocations: 16.15 MB / 0.6908 GB, free: 110.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.895e-05/1.174, allocations: 149.6 kB / 0.691 GB, free: 110.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006486/1.181, allocations: 4.666 MB / 0.6955 GB, free: 108.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005681/1.181, allocations: 57.14 kB / 0.6956 GB, free: 108.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001918/1.183, allocations: 3.502 MB / 0.699 GB, free: 105.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001024/1.184, allocations: 0.8297 MB / 0.6998 GB, free: 105.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003056/1.185, allocations: 135.2 kB / 0.6999 GB, free: 105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002863/1.185, allocations: 0.5883 MB / 0.7005 GB, free: 104.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003627/1.189, allocations: 3.146 MB / 0.7036 GB, free: 103.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005664/1.194, allocations: 7.441 MB / 0.7108 GB, free: 94.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005478/1.2, allocations: 4.684 MB / 0.7154 GB, free: 90.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.046e-05/1.2, allocations: 44 kB / 0.7155 GB, free: 90.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01619/1.216, allocations: 10.55 MB / 0.7258 GB, free: 79.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.809e-05/1.216, allocations: 75.12 kB / 0.7258 GB, free: 79.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000144/1.216, allocations: 152 kB / 0.726 GB, free: 79.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/1.217, allocations: 224.1 kB / 0.7262 GB, free: 79.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005459/1.222, allocations: 1.801 MB / 0.728 GB, free: 77.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001663/1.222, allocations: 294.9 kB / 0.7282 GB, free: 77.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005795/1.228, allocations: 0.9317 MB / 0.7291 GB, free: 76.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008143/1.229, allocations: 0.5108 MB / 0.7296 GB, free: 75.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004027/1.233, allocations: 2.32 MB / 0.7319 GB, free: 73.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007711/1.234, allocations: 398.8 kB / 0.7323 GB, free: 72.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005049/1.239, allocations: 4.869 MB / 0.737 GB, free: 67.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.14e-05/1.239, allocations: 24 kB / 0.7371 GB, free: 67.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.239, allocations: 0 / 0.7371 GB, free: 67.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/1.239, allocations: 7.969 kB / 0.7371 GB, free: 67.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/1.252, allocations: 11.52 MB / 0.7483 GB, free: 56.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/1.252, allocations: 8 kB / 0.7483 GB, free: 56.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/1.254, allocations: 0.5968 MB / 0.7489 GB, free: 55.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.802e-05/1.255, allocations: 16 kB / 0.7489 GB, free: 55.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001922/1.255, allocations: 151.7 kB / 0.7491 GB, free: 55.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.637e-05/1.255, allocations: 27.92 kB / 0.7491 GB, free: 55.49 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/1.255, allocations: 11.98 kB / 0.7491 GB, free: 55.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007729/1.262, allocations: 8.879 MB / 0.7578 GB, free: 46.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.264, allocations: 0.5188 MB / 0.7583 GB, free: 45.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004283/1.264, allocations: 44 kB / 0.7583 GB, free: 45.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/1.266, allocations: 90.48 kB / 0.7584 GB, free: 45.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/1.266, allocations: 228.8 kB / 0.7586 GB, free: 45.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/1.266, allocations: 163.8 kB / 0.7588 GB, free: 45.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003727/1.27, allocations: 2.923 MB / 0.7617 GB, free: 42.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.27, allocations: 0 / 0.7617 GB, free: 42.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005506/1.275, allocations: 1.373 MB / 0.763 GB, free: 41.13 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 (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.0004422/1.276, allocations: 200.1 kB / 0.7632 GB, free: 40.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008527/1.284, allocations: 7.053 MB / 0.7701 GB, free: 33.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.284, allocations: 0.8125 kB / 0.7701 GB, free: 33.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002394/1.287, allocations: 2.444 MB / 0.7725 GB, free: 31.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/1.291, allocations: 0.5134 MB / 0.773 GB, free: 30.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/1.31, allocations: 14.13 MB / 0.7868 GB, free: 16.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003235/1.313, allocations: 3.601 MB / 0.7903 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00552/1.319, allocations: 2.298 MB / 0.7925 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001686/1.321, allocations: 0.5925 MB / 0.7931 GB, free: 10.16 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/1.321, allocations: 0 / 0.7931 GB, free: 10.16 MB / 494.1 MB Notification: Performance of Templates: time 0.3209/1.641, allocations: 56.41 MB / 0.8482 GB, free: 144.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: