Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.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.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",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.001064/0.001064, allocations: 195.1 kB / 8.538 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 225.5 MB / 234.4 MB, free: 3.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009329/0.000933, allocations: 98.14 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1698/0.1698, allocations: 45.14 MB / 383.3 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.181/0.3509, allocations: 69.38 MB / 452.7 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07779/0.4287, allocations: 63.24 MB / 0.5039 GB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2562/0.6849, allocations: 110.6 MB / 0.6119 GB, free: 8.625 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.6852, allocations: 80 kB / 0.6119 GB, free: 8.586 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: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.5693/1.254, allocations: 162.9 MB / 0.771 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/1.255, allocations: 10.66 kB / 0.771 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05934/1.314, allocations: 15.61 MB / 0.7863 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02468/1.339, allocations: 11.51 MB / 0.7975 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/1.339, allocations: 216.3 kB / 0.7977 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/1.34, allocations: 409.3 kB / 0.7981 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01188/1.352, allocations: 9.393 MB / 0.8073 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/1.367, allocations: 14.53 MB / 0.8215 GB, free: 98.33 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000214/1.367, allocations: 108.8 kB / 0.8216 GB, free: 98.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00071/1.368, allocations: 49.97 kB / 0.8216 GB, free: 98.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0017/1.37, allocations: 1.586 MB / 0.8232 GB, free: 98.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06808/1.438, allocations: 76.67 MB / 0.898 GB, free: 41.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00547/1.443, allocations: 5.544 MB / 0.9034 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004222/1.448, allocations: 4.595 MB / 0.9079 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01865/1.466, allocations: 14.57 MB / 0.9222 GB, free: 19.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/1.466, allocations: 71.66 kB / 0.9222 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=262): time 5.29e-06/1.466, allocations: 0 / 0.9222 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=341): time 0.2392/1.706, allocations: 40.23 MB / 0.9615 GB, free: 169.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/1.706, allocations: 270.7 kB / 0.9618 GB, free: 169.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006899/1.713, allocations: 5.697 MB / 0.9673 GB, free: 169 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006907/1.713, allocations: 25.7 kB / 0.9674 GB, free: 169 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001739/1.715, allocations: 4.476 MB / 0.9717 GB, free: 167.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001265/1.716, allocations: 1.262 MB / 0.973 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004782/1.717, allocations: 0 / 0.973 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003633/1.717, allocations: 0.7144 MB / 0.9737 GB, free: 166.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005095/1.722, allocations: 4.389 MB / 0.978 GB, free: 166.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006643/1.729, allocations: 9.766 MB / 0.9875 GB, free: 159.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007074/1.736, allocations: 6.463 MB / 0.9938 GB, free: 159.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-05/1.736, allocations: 55.91 kB / 0.9939 GB, free: 159.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.06229/1.798, allocations: 24.81 MB / 1.018 GB, free: 159 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.798, allocations: 3.75 kB / 1.018 GB, free: 159 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04463/1.843, allocations: 16.2 MB / 1.034 GB, free: 158.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04511/1.888, allocations: 11.59 MB / 1.045 GB, free: 157.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007757/1.896, allocations: 2.089 MB / 1.047 GB, free: 157.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0397/1.936, allocations: 28.94 MB / 1.076 GB, free: 136 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008442/1.944, allocations: 444.4 kB / 1.076 GB, free: 135.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/1.945, allocations: 0.5722 MB / 1.077 GB, free: 135.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * Number of states: 0 () * Number of discrete variables: 63 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[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 (1105): * Single equations (assignments): 1092 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.001216/1.947, allocations: 0.5899 MB / 1.077 GB, free: 134.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000837/1.947, allocations: 0.617 MB / 1.078 GB, free: 134 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01772/1.965, allocations: 9.75 MB / 1.087 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01597/1.981, allocations: 8.548 MB / 1.096 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-05/1.981, allocations: 16 kB / 1.096 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-05/1.981, allocations: 18.91 kB / 1.096 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03615/2.017, allocations: 21.93 MB / 1.117 GB, free: 97.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/2.017, allocations: 4 kB / 1.117 GB, free: 97.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002804/2.02, allocations: 475.3 kB / 1.117 GB, free: 97.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01384/2.034, allocations: 3.821 MB / 1.121 GB, free: 93.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004383/2.035, allocations: 63.83 kB / 1.121 GB, free: 93.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02447/2.059, allocations: 21.79 MB / 1.143 GB, free: 71.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001259/2.06, allocations: 2.81 MB / 1.145 GB, free: 68.17 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02187/2.082, allocations: 15.04 MB / 1.16 GB, free: 52.95 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02654/2.109, allocations: 20.42 MB / 1.18 GB, free: 32.33 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/2.11, allocations: 0.6374 MB / 1.181 GB, free: 31.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/2.111, allocations: 39.97 kB / 1.181 GB, free: 31.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003393/2.115, allocations: 199.7 kB / 1.181 GB, free: 31.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005102/2.115, allocations: 166 kB / 1.181 GB, free: 31.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004042/2.116, allocations: 99.94 kB / 1.181 GB, free: 31.17 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.00485/2.121, allocations: 3.94 MB / 1.185 GB, free: 27.26 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008015/2.129, allocations: 1.869 MB / 1.187 GB, free: 25.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,100.0%) 35,(3,100.0%) 33,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000582/2.129, allocations: 177.5 kB / 1.187 GB, free: 25.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.157/2.286, allocations: 11.19 MB / 1.198 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/2.286, allocations: 0 / 1.198 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006333/2.293, allocations: 4.802 MB / 1.202 GB, free: 160.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003783/2.296, allocations: 0.7787 MB / 1.203 GB, free: 160.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02927/2.326, allocations: 16.09 MB / 1.219 GB, free: 157.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007164/2.333, allocations: 5.938 MB / 1.225 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.303e-06/2.333, allocations: 0 / 1.225 GB, free: 156.7 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-08 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe 2>&1)