Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001629/0.001633, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2892/0.2892, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004845, allocations: 8 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1178, allocations: 58.86 MB / 490.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.4385/0.5564, allocations: 73.52 MB / 0.5506 GB, free: 6.641 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04435/0.6008, allocations: 15.69 MB / 0.5659 GB, free: 11.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01807/0.6189, allocations: 355.3 kB / 0.5663 GB, free: 11.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01406/0.633, allocations: 3.656 MB / 0.5698 GB, free: 9.027 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04236/0.6754, allocations: 10.27 MB / 0.5799 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005363/0.6808, allocations: 487.4 kB / 0.5803 GB, free: 168 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006909/0.6878, allocations: 2.411 MB / 0.5827 GB, free: 13.75 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01035/0.6982, allocations: 4.495 MB / 0.5871 GB, free: 9.211 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002867/0.7011, allocations: 1.183 MB / 0.5882 GB, free: 8.023 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004655/0.7058, allocations: 2.002 MB / 0.5902 GB, free: 6.016 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001335/0.7072, allocations: 188 kB / 0.5904 GB, free: 5.832 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.7099, allocations: 0.5541 MB / 0.5909 GB, free: 5.277 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003296/0.7132, allocations: 1.741 MB / 0.5926 GB, free: 3.531 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002047/0.7153, allocations: 0.9869 MB / 0.5936 GB, free: 2.535 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.7269, allocations: 6.735 MB / 0.6002 GB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.727, allocations: 4 kB / 0.6002 GB, free: 11.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.847e-06/0.727, allocations: 0 / 0.6002 GB, free: 11.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002994/0.7273, allocations: 0 / 0.6002 GB, free: 11.78 MB / 410.7 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.1725/0.8998, allocations: 9.666 MB / 0.6096 GB, free: 2.039 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.8998, allocations: 8.031 kB / 0.6096 GB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003975/0.9038, allocations: 0.8103 MB / 0.6104 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/0.9179, allocations: 2.185 MB / 0.6125 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.9287, allocations: 3.124 MB / 0.6156 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004508/0.9292, allocations: 295.5 kB / 0.6159 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003321/0.9326, allocations: 407.6 kB / 0.6163 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09517/1.028, allocations: 19.54 MB / 0.6353 GB, free: 6.891 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003247/1.028, allocations: 47.5 kB / 0.6354 GB, free: 6.844 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002805/1.031, allocations: 179.9 kB / 0.6355 GB, free: 6.668 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01115/1.042, allocations: 2.349 MB / 0.6378 GB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1019/1.144, allocations: 22.39 MB / 0.6597 GB, free: 13.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1276/1.272, allocations: 52.45 MB / 0.7109 GB, free: 8.094 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4971/1.769, allocations: 9.185 MB / 0.7199 GB, free: 184 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003557/1.773, allocations: 341.1 kB / 0.7202 GB, free: 184 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.353e-05/1.773, allocations: 57.36 kB / 0.7203 GB, free: 184 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=212): time 6.823e-06/1.773, allocations: 1.438 kB / 0.7203 GB, free: 184 MB / 0.5105 GB Notification: Performance of matching and sorting (n=212): time 0.3006/2.073, allocations: 16.37 MB / 0.7363 GB, free: 182.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/2.073, allocations: 152.9 kB / 0.7364 GB, free: 182.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/2.084, allocations: 4.672 MB / 0.741 GB, free: 181 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006672/2.085, allocations: 57.95 kB / 0.741 GB, free: 180.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002913/2.088, allocations: 3.386 MB / 0.7443 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001595/2.089, allocations: 0.839 MB / 0.7452 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/2.09, allocations: 132.9 kB / 0.7453 GB, free: 177.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006507/2.091, allocations: 0.591 MB / 0.7459 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007052/2.098, allocations: 3.146 MB / 0.7489 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009733/2.108, allocations: 7.41 MB / 0.7562 GB, free: 169.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009804/2.118, allocations: 4.684 MB / 0.7607 GB, free: 165.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000167/2.118, allocations: 49.72 kB / 0.7608 GB, free: 165.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02388/2.142, allocations: 10.4 MB / 0.7709 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/2.142, allocations: 68.66 kB / 0.771 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001873/2.142, allocations: 160.2 kB / 0.7712 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/2.142, allocations: 220 kB / 0.7714 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01143/2.154, allocations: 1.809 MB / 0.7731 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002886/2.154, allocations: 294.9 kB / 0.7734 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009147/2.163, allocations: 0.9286 MB / 0.7743 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001722/2.165, allocations: 0.5115 MB / 0.7748 GB, free: 151.2 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00587/2.171, allocations: 2.315 MB / 0.7771 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/2.172, allocations: 402.8 kB / 0.7775 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/2.182, allocations: 4.861 MB / 0.7822 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.975e-05/2.183, allocations: 28.55 kB / 0.7822 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/2.183, allocations: 3.953 kB / 0.7822 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.674e-05/2.183, allocations: 7.969 kB / 0.7823 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02621/2.209, allocations: 11.52 MB / 0.7935 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/2.209, allocations: 12.03 kB / 0.7935 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00566/2.215, allocations: 0.5928 MB / 0.7941 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.242e-05/2.215, allocations: 19.66 kB / 0.7941 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006696/2.215, allocations: 148.9 kB / 0.7943 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-05/2.215, allocations: 26.55 kB / 0.7943 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/2.216, allocations: 11.94 kB / 0.7943 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/2.231, allocations: 9.836 MB / 0.8039 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/2.233, allocations: 0.5109 MB / 0.8044 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/2.234, allocations: 43.98 kB / 0.8044 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004176/2.238, allocations: 83.98 kB / 0.8045 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008621/2.239, allocations: 238 kB / 0.8047 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004589/2.24, allocations: 167.7 kB / 0.8049 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007163/2.247, allocations: 2.927 MB / 0.8078 GB, free: 117 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-07/2.247, allocations: 4 kB / 0.8078 GB, free: 117 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008233/2.255, allocations: 1.364 MB / 0.8091 GB, free: 115.6 MB / 0.5105 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 (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.01704/2.272, allocations: 12.21 MB / 0.821 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.019/2.291, allocations: 7.062 MB / 0.8279 GB, free: 96.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.411e-05/2.292, allocations: 8.125 kB / 0.8279 GB, free: 96.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007227/2.299, allocations: 2.43 MB / 0.8303 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00617/2.305, allocations: 0.4933 MB / 0.8308 GB, free: 93.19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5442/2.849, allocations: 152.4 MB / 0.9796 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01052/2.86, allocations: 3.7 MB / 0.9832 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009986/2.87, allocations: 2.546 MB / 0.9857 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.515e-06/2.87, allocations: 0 / 0.9857 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.164/8.034, allocations: 101.4 MB / 1.085 GB, free: 25.62 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1)