Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 189.2 kB / 7.801 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.001014/0.001014, allocations: 97.86 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2058/0.2058, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2218/0.4276, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.775, allocations: 58.84 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.9148, allocations: 94.13 MB / 0.5574 GB, free: 4.789 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.9151, allocations: 79.41 kB / 0.5575 GB, free: 4.715 MB / 394.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.56/1.475, allocations: 97.38 MB / 0.6526 GB, free: 96.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.475, allocations: 10.53 kB / 0.6526 GB, free: 96.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009724/1.485, allocations: 1.755 MB / 0.6543 GB, free: 96.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00937/1.494, allocations: 3.425 MB / 0.6576 GB, free: 96.01 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/1.495, allocations: 146.8 kB / 0.6578 GB, free: 96.01 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003068/1.498, allocations: 282.3 kB / 0.6581 GB, free: 96 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01742/1.515, allocations: 9.98 MB / 0.6678 GB, free: 95.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/1.539, allocations: 13.47 MB / 0.6809 GB, free: 93.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001852/1.54, allocations: 59.09 kB / 0.681 GB, free: 93.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/1.541, allocations: 27.84 kB / 0.681 GB, free: 93.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001975/1.543, allocations: 1.157 MB / 0.6822 GB, free: 93.24 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07209/1.615, allocations: 53.91 MB / 0.7348 GB, free: 56.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009555/1.624, allocations: 6.866 MB / 0.7415 GB, free: 53.56 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003925/1.628, allocations: 2.919 MB / 0.7444 GB, free: 51.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/1.639, allocations: 6.455 MB / 0.7507 GB, free: 45.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/1.639, allocations: 49.86 kB / 0.7507 GB, free: 45.05 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 6.733e-06/1.639, allocations: 0 / 0.7507 GB, free: 45.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=176): time 0.004349/1.644, allocations: 2.683 MB / 0.7533 GB, free: 42.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/1.644, allocations: 146 kB / 0.7535 GB, free: 42.56 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008319/1.652, allocations: 3.808 MB / 0.7572 GB, free: 39.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003961/1.653, allocations: 25.7 kB / 0.7572 GB, free: 39.15 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002326/1.655, allocations: 3.338 MB / 0.7605 GB, free: 36.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008538/1.656, allocations: 0.7059 MB / 0.7612 GB, free: 35.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/1.656, allocations: 0 / 0.7612 GB, free: 35.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003249/1.657, allocations: 0.6031 MB / 0.7618 GB, free: 34.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002851/1.659, allocations: 2.157 MB / 0.7639 GB, free: 32.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004474/1.664, allocations: 6.519 MB / 0.7702 GB, free: 23.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004671/1.669, allocations: 3.744 MB / 0.7739 GB, free: 20.06 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.606e-05/1.669, allocations: 44 kB / 0.7739 GB, free: 20.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01493/1.684, allocations: 7.692 MB / 0.7814 GB, free: 12.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.684, allocations: 4 kB / 0.7814 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001522/1.684, allocations: 156.9 kB / 0.7816 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/1.684, allocations: 232 kB / 0.7818 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005929/1.69, allocations: 1.657 MB / 0.7834 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001617/1.69, allocations: 310.8 kB / 0.7837 GB, free: 9.977 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005821/1.696, allocations: 0.7563 MB / 0.7845 GB, free: 9.215 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001436/1.697, allocations: 451.9 kB / 0.7849 GB, free: 8.773 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (873): * Single equations (assignments): 870 * 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.001051/1.699, allocations: 494.2 kB / 0.7854 GB, free: 8.281 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008633/1.699, allocations: 371.1 kB / 0.7857 GB, free: 7.914 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003431/1.703, allocations: 2.484 MB / 0.7881 GB, free: 5.418 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.516e-05/1.703, allocations: 16 kB / 0.7882 GB, free: 5.402 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.703, allocations: 0 / 0.7882 GB, free: 5.402 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.703, allocations: 11.97 kB / 0.7882 GB, free: 5.391 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006622/1.71, allocations: 3.216 MB / 0.7913 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/1.71, allocations: 0 / 0.7913 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002128/1.712, allocations: 339.8 kB / 0.7916 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-05/1.712, allocations: 8 kB / 0.7916 GB, free: 1.828 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002065/1.712, allocations: 12 kB / 0.7917 GB, free: 1.816 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/1.712, allocations: 11.98 kB / 0.7917 GB, free: 1.805 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.712, allocations: 3.938 kB / 0.7917 GB, free: 1.801 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005563/1.718, allocations: 4.876 MB / 0.7964 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0085/1.726, allocations: 7.015 MB / 0.8033 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/1.728, allocations: 459.7 kB / 0.8037 GB, free: 5.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006081/1.728, allocations: 7.984 kB / 0.8037 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/1.73, allocations: 19.97 kB / 0.8038 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/1.73, allocations: 81.19 kB / 0.8038 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.73, allocations: 59.42 kB / 0.8039 GB, free: 5.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.005308/1.735, allocations: 2.558 MB / 0.8064 GB, free: 2.598 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007529/1.743, allocations: 1.241 MB / 0.8076 GB, free: 1.352 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * 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.0005283/1.744, allocations: 142.9 kB / 0.8077 GB, free: 1.203 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008249/1.752, allocations: 4.84 MB / 0.8125 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/1.752, allocations: 1.375 kB / 0.8125 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/1.754, allocations: 1.274 MB / 0.8137 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/1.756, allocations: 388.7 kB / 0.8141 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/1.777, allocations: 8.721 MB / 0.8226 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1855/1.962, allocations: 4.054 MB / 0.8265 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/1.962, allocations: 3.969 kB / 0.8266 GB, free: 166.8 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1)