Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001553/0.001553, allocations: 194.9 kB / 8.538 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 225.5 MB / 234.4 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008991/0.0008992, allocations: 92.59 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1755/0.1755, allocations: 45.14 MB / 383.3 MB, free: 460 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1906/0.3662, allocations: 69.37 MB / 452.7 MB, free: 76.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0945/0.4607, allocations: 63.23 MB / 0.5039 GB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2556/0.7163, allocations: 96.61 MB / 0.5982 GB, free: 6.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/0.7165, allocations: 81.3 kB / 0.5983 GB, free: 6.137 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.297/1.013, allocations: 99.22 MB / 0.6952 GB, free: 11.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/1.014, allocations: 8 kB / 0.6952 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009084/1.023, allocations: 1.756 MB / 0.6969 GB, free: 9.395 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008357/1.031, allocations: 3.426 MB / 0.7002 GB, free: 5.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/1.031, allocations: 144 kB / 0.7004 GB, free: 5.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002199/1.033, allocations: 283.8 kB / 0.7007 GB, free: 5.492 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01743/1.051, allocations: 9.978 MB / 0.7104 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02184/1.073, allocations: 13.46 MB / 0.7235 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001758/1.073, allocations: 67.39 kB / 0.7236 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007913/1.074, allocations: 28 kB / 0.7236 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002236/1.076, allocations: 1.159 MB / 0.7248 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1976/1.274, allocations: 53.91 MB / 0.7774 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0075/1.281, allocations: 6.86 MB / 0.7841 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003069/1.284, allocations: 2.91 MB / 0.787 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006374/1.291, allocations: 6.456 MB / 0.7933 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/1.291, allocations: 54 kB / 0.7933 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=176): time 3.697e-06/1.291, allocations: 0 / 0.7933 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=176): time 0.0033/1.294, allocations: 2.683 MB / 0.7959 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/1.294, allocations: 144.1 kB / 0.7961 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004841/1.299, allocations: 3.798 MB / 0.7998 GB, free: 156 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/1.299, allocations: 29.08 kB / 0.7998 GB, free: 156 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/1.3, allocations: 3.348 MB / 0.8031 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004779/1.301, allocations: 0.7087 MB / 0.8038 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/1.301, allocations: 2.438 kB / 0.8038 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003074/1.302, allocations: 0.5929 MB / 0.8043 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002507/1.304, allocations: 2.156 MB / 0.8065 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003825/1.308, allocations: 6.518 MB / 0.8128 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003915/1.312, allocations: 3.749 MB / 0.8165 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.823e-05/1.312, allocations: 48.88 kB / 0.8165 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.009821/1.322, allocations: 7.681 MB / 0.824 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.322, allocations: 3.781 kB / 0.824 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/1.322, allocations: 157.3 kB / 0.8242 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/1.322, allocations: 233.6 kB / 0.8244 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004897/1.327, allocations: 1.661 MB / 0.826 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001344/1.327, allocations: 309.3 kB / 0.8263 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004196/1.331, allocations: 0.7581 MB / 0.8271 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004817/1.332, allocations: 453.4 kB / 0.8275 GB, free: 145.3 MB / 0.5261 GB 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.0005812/1.332, allocations: 0.4908 MB / 0.828 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/1.333, allocations: 367.9 kB / 0.8283 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00323/1.336, allocations: 2.475 MB / 0.8307 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/1.336, allocations: 20.11 kB / 0.8308 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.336, allocations: 3.781 kB / 0.8308 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/1.336, allocations: 11.64 kB / 0.8308 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004204/1.34, allocations: 3.214 MB / 0.8339 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.34, allocations: 4 kB / 0.8339 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/1.342, allocations: 334.4 kB / 0.8342 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/1.342, allocations: 7.438 kB / 0.8342 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/1.342, allocations: 14.72 kB / 0.8343 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/1.342, allocations: 5.312 kB / 0.8343 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.342, allocations: 6.156 kB / 0.8343 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004884/1.347, allocations: 4.883 MB / 0.839 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006886/1.354, allocations: 7.011 MB / 0.8459 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/1.355, allocations: 465.9 kB / 0.8463 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005125/1.355, allocations: 4 kB / 0.8463 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/1.357, allocations: 19.03 kB / 0.8463 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/1.357, allocations: 85.55 kB / 0.8464 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/1.357, allocations: 50.91 kB / 0.8465 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003114/1.36, allocations: 2.568 MB / 0.849 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005227/1.365, allocations: 1.24 MB / 0.8502 GB, free: 132 MB / 0.5261 GB 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.0003304/1.366, allocations: 157.7 kB / 0.8503 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005301/1.371, allocations: 4.833 MB / 0.8551 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.371, allocations: 2.062 kB / 0.8551 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/1.372, allocations: 1.289 MB / 0.8563 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/1.374, allocations: 370.5 kB / 0.8567 GB, free: 126 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/1.386, allocations: 8.724 MB / 0.8652 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004179/1.39, allocations: 4.061 MB / 0.8692 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of SimCode: time 5.51e-07/1.39, allocations: 2.906 kB / 0.8692 GB, free: 115.1 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1)