Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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_2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",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.002121/0.00212, allocations: 186 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.274/2.274, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.00116/0.00116, allocations: 98.84 kB / 270.9 MB, free: 13.28 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.2831/0.2831, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004898, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1215, allocations: 58.86 MB / 490.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3956/0.5172, allocations: 43.01 MB / 0.5208 GB, free: 9.898 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02808/0.5453, allocations: 10.24 MB / 0.5308 GB, free: 9.723 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01035/0.5557, allocations: 215.2 kB / 0.531 GB, free: 9.719 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008347/0.5641, allocations: 2.118 MB / 0.5331 GB, free: 9.348 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0268/0.591, allocations: 6.205 MB / 0.5392 GB, free: 8.512 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.595, allocations: 0.5151 MB / 0.5397 GB, free: 8.371 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005814/0.6009, allocations: 2.124 MB / 0.5417 GB, free: 7.918 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009467/0.6104, allocations: 4.484 MB / 0.5461 GB, free: 6.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.6133, allocations: 0.9998 MB / 0.5471 GB, free: 6.227 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003179/0.6166, allocations: 1.359 MB / 0.5484 GB, free: 5.723 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.6178, allocations: 143.4 kB / 0.5486 GB, free: 5.723 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.6211, allocations: 0.7619 MB / 0.5493 GB, free: 5.539 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002773/0.6239, allocations: 1.549 MB / 0.5508 GB, free: 5.055 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.6256, allocations: 0.8343 MB / 0.5516 GB, free: 4.852 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008207/0.6338, allocations: 5.537 MB / 0.557 GB, free: 1.836 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6339, allocations: 4 kB / 0.557 GB, free: 1.832 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.6339, allocations: 0 / 0.557 GB, free: 1.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002796/0.6342, allocations: 1.781 kB / 0.557 GB, free: 1.832 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02861/0.6628, allocations: 4.554 MB / 0.5615 GB, free: 15.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.6629, allocations: 8.031 kB / 0.5615 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002877/0.6658, allocations: 0.7234 MB / 0.5622 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/0.6807, allocations: 2.234 MB / 0.5644 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008119/0.6889, allocations: 2.523 MB / 0.5669 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/0.6893, allocations: 244.4 kB / 0.5671 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002151/0.6914, allocations: 312.1 kB / 0.5674 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03575/0.7272, allocations: 10.8 MB / 0.5779 GB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002248/0.7275, allocations: 39.59 kB / 0.578 GB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001602/0.7291, allocations: 154.3 kB / 0.5781 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006688/0.7359, allocations: 1.983 MB / 0.5801 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03498/0.7709, allocations: 9.695 MB / 0.5895 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08253/0.8535, allocations: 39.28 MB / 0.6279 GB, free: 11.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02708/0.8806, allocations: 3.971 MB / 0.6318 GB, free: 7.656 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001723/0.8824, allocations: 0.6851 MB / 0.6324 GB, free: 6.871 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.71e-05/0.8825, allocations: 47.56 kB / 0.6325 GB, free: 6.816 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 5.491e-06/0.8826, allocations: 7.938 kB / 0.6325 GB, free: 6.809 MB / 442.7 MB Notification: Performance of matching and sorting (n=157): time 0.08648/0.9691, allocations: 14.27 MB / 0.6464 GB, free: 8.379 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.9692, allocations: 161.4 kB / 0.6466 GB, free: 8.191 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/0.9796, allocations: 4.179 MB / 0.6507 GB, free: 3.988 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004828/0.9802, allocations: 49.7 kB / 0.6507 GB, free: 3.934 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003542/0.9837, allocations: 3.053 MB / 0.6537 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001232/0.985, allocations: 0.6177 MB / 0.6543 GB, free: 292 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007635/0.9858, allocations: 118.5 kB / 0.6544 GB, free: 176 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006226/0.9864, allocations: 0.5546 MB / 0.6549 GB, free: 15.61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006366/0.9928, allocations: 2.076 MB / 0.657 GB, free: 13.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/1.003, allocations: 5.76 MB / 0.6626 GB, free: 5.902 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008932/1.012, allocations: 3.383 MB / 0.6659 GB, free: 2.516 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001355/1.012, allocations: 40 kB / 0.6659 GB, free: 2.477 MB / 474.7 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.02577/1.038, allocations: 8.223 MB / 0.674 GB, free: 10.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/1.038, allocations: 64 kB / 0.674 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000224/1.038, allocations: 132 kB / 0.6742 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004737/1.043, allocations: 0.9293 MB / 0.6751 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00882/1.052, allocations: 1.376 MB / 0.6764 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/1.064, allocations: 4.971 MB / 0.6813 GB, free: 2.645 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006526/1.071, allocations: 324.9 kB / 0.6816 GB, free: 2.328 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/1.072, allocations: 372 kB / 0.6819 GB, free: 1.965 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 714 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006496/1.079, allocations: 2.09 MB / 0.684 GB, free: 15.86 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.08, allocations: 343.3 kB / 0.6843 GB, free: 15.52 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/1.092, allocations: 3.179 MB / 0.6874 GB, free: 12.32 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.418e-05/1.092, allocations: 20 kB / 0.6874 GB, free: 12.3 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.092, allocations: 4.094 kB / 0.6874 GB, free: 12.3 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.574e-05/1.092, allocations: 11.91 kB / 0.6874 GB, free: 12.29 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/1.119, allocations: 7.975 MB / 0.6952 GB, free: 4.266 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-05/1.119, allocations: 3.953 kB / 0.6952 GB, free: 4.262 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003127/1.122, allocations: 319.6 kB / 0.6955 GB, free: 3.949 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00422/1.126, allocations: 0.7108 MB / 0.6962 GB, free: 3.234 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004672/1.127, allocations: 43.97 kB / 0.6963 GB, free: 3.191 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/1.138, allocations: 4.535 MB / 0.7007 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/1.138, allocations: 5.203 kB / 0.7007 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01722/1.155, allocations: 5.879 MB / 0.7064 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002654/1.158, allocations: 0.637 MB / 0.7071 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/1.159, allocations: 28 kB / 0.7071 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003123/1.162, allocations: 99.86 kB / 0.7072 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006851/1.163, allocations: 104.8 kB / 0.7073 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002451/1.163, allocations: 51.97 kB / 0.7073 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007377/1.171, allocations: 2.644 MB / 0.7099 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.81e-07/1.171, allocations: 0 / 0.7099 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007451/1.178, allocations: 0.9789 MB / 0.7109 GB, free: 3.992 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (126): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3496/1.528, allocations: 6.847 MB / 0.7176 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.541, allocations: 4.99 MB / 0.7224 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.541, allocations: 1.219 kB / 0.7224 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004258/1.545, allocations: 1.559 MB / 0.724 GB, free: 175.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003377/1.548, allocations: 397.3 kB / 0.7243 GB, free: 175.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1061/1.655, allocations: 125.4 MB / 0.8468 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006882/1.661, allocations: 3.328 MB / 0.85 GB, free: 61.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004588/1.666, allocations: 1.93 MB / 0.8519 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of SimCode: time 2.054e-06/1.666, allocations: 0 / 0.8519 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.703/6.369, allocations: 98.67 MB / 0.9482 GB, free: 164.1 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1)