Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.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.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.002292/0.002292, allocations: 186.9 kB / 7.8 MB, free: 2.5 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.417/1.417, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009092/0.0009091, allocations: 98.42 kB / 261.4 MB, free: 13.51 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.2253/0.2253, allocations: 43.49 MB / 352.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2337/0.459, allocations: 64.97 MB / 417.8 MB, free: 40.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.797, allocations: 58.84 MB / 476.7 MB, free: 5.047 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.9591, allocations: 108 MB / 0.571 GB, free: 6.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.9595, allocations: 87.22 kB / 0.5711 GB, free: 6.648 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.6462/1.606, allocations: 152.1 MB / 0.7196 GB, free: 67.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/1.606, allocations: 15.94 kB / 0.7196 GB, free: 67.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05906/1.665, allocations: 14.76 MB / 0.734 GB, free: 53.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0356/1.701, allocations: 13.34 MB / 0.7471 GB, free: 43.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004089/1.701, allocations: 216 kB / 0.7473 GB, free: 43.22 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003824/1.705, allocations: 415.7 kB / 0.7477 GB, free: 42.81 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02005/1.725, allocations: 9.386 MB / 0.7568 GB, free: 33.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03594/1.761, allocations: 14.54 MB / 0.771 GB, free: 17.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008548/1.762, allocations: 107 kB / 0.7711 GB, free: 17.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003942/1.766, allocations: 52 kB / 0.7712 GB, free: 17.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002676/1.769, allocations: 1.587 MB / 0.7727 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3778/2.146, allocations: 76.76 MB / 0.8477 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006856/2.153, allocations: 5.549 MB / 0.8531 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00561/2.159, allocations: 4.589 MB / 0.8576 GB, free: 128 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02338/2.182, allocations: 14.62 MB / 0.8719 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/2.182, allocations: 62.75 kB / 0.8719 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=262): time 6.222e-06/2.182, allocations: 2.406 kB / 0.8719 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=341): time 0.1116/2.294, allocations: 40.48 MB / 0.9115 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/2.294, allocations: 263.4 kB / 0.9117 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/2.305, allocations: 5.755 MB / 0.9174 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001473/2.307, allocations: 29.61 kB / 0.9174 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003953/2.311, allocations: 4.476 MB / 0.9218 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002484/2.313, allocations: 1.265 MB / 0.923 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006562/2.314, allocations: 3.469 kB / 0.923 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004177/2.314, allocations: 0.7153 MB / 0.9237 GB, free: 107 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005973/2.32, allocations: 4.384 MB / 0.928 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/2.331, allocations: 9.763 MB / 0.9375 GB, free: 95.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009799/2.341, allocations: 6.469 MB / 0.9438 GB, free: 90.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001812/2.341, allocations: 56 kB / 0.9439 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.07007/2.411, allocations: 24.61 MB / 0.9679 GB, free: 72.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/2.411, allocations: 4 kB / 0.9679 GB, free: 72.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04842/2.46, allocations: 16 MB / 0.9835 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04275/2.503, allocations: 11.4 MB / 0.9947 GB, free: 48.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009125/2.512, allocations: 2.08 MB / 0.9967 GB, free: 46.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04373/2.556, allocations: 28.93 MB / 1.025 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01262/2.568, allocations: 451.1 kB / 1.025 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003557/2.572, allocations: 0.5702 MB / 1.026 GB, free: 16.34 MB / 0.5105 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.004527/2.576, allocations: 0.588 MB / 1.027 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002483/2.579, allocations: 0.6286 MB / 1.027 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02388/2.603, allocations: 9.737 MB / 1.037 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2978/2.901, allocations: 8.557 MB / 1.045 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-05/2.901, allocations: 19.31 kB / 1.045 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001195/2.901, allocations: 14.48 kB / 1.045 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05087/2.952, allocations: 21.95 MB / 1.066 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-05/2.952, allocations: 3.812 kB / 1.066 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003255/2.955, allocations: 486.1 kB / 1.067 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01378/2.969, allocations: 3.824 MB / 1.071 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009678/2.97, allocations: 61.28 kB / 1.071 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03132/3.001, allocations: 21.79 MB / 1.092 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001731/3.003, allocations: 2.815 MB / 1.095 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0282/3.031, allocations: 15.05 MB / 1.109 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04057/3.072, allocations: 20.42 MB / 1.129 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005617/3.078, allocations: 1.3 MB / 1.131 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003803/3.081, allocations: 39.45 kB / 1.131 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006443/3.088, allocations: 207.1 kB / 1.131 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/3.089, allocations: 169.5 kB / 1.131 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009513/3.09, allocations: 97.81 kB / 1.131 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.01192/3.102, allocations: 3.98 MB / 1.135 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01575/3.118, allocations: 1.856 MB / 1.137 GB, free: 127.1 MB / 0.5105 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.001683/3.12, allocations: 174.5 kB / 1.137 GB, free: 127 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0222/3.142, allocations: 11.2 MB / 1.148 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/3.142, allocations: 4 kB / 1.148 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009392/3.151, allocations: 4.793 MB / 1.153 GB, free: 115 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006976/3.158, allocations: 0.7785 MB / 1.153 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04849/3.207, allocations: 16.14 MB / 1.169 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01029/3.217, allocations: 5.958 MB / 1.175 GB, free: 95.87 MB / 0.5105 GB Notification: Performance of SimCode: time 3.306e-06/3.217, allocations: 0 / 1.175 GB, free: 95.87 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-08 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe 2>&1)