Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 175.9 kB / 15.78 MB, free: 6.352 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.37/2.37, allocations: 223.2 MB / 239.8 MB, free: 4 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 95.84 kB / 290.9 MB, free: 4.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.07682/0.07682, allocations: 8.952 MB / 351 MB, free: 4.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007362/0.0007367, allocations: 12 kB / 413.9 MB, free: 5.246 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4361, allocations: 52.37 MB / 466.2 MB, free: 69.24 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.02737/0.4635, allocations: 21.08 MB / 487.3 MB, free: 48.1 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01788/0.4815, allocations: 5.132 MB / 492.4 MB, free: 42.95 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006536/0.4881, allocations: 79.88 kB / 492.5 MB, free: 42.88 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004546/0.4927, allocations: 1.003 MB / 493.5 MB, free: 41.87 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01579/0.5085, allocations: 3.529 MB / 497.1 MB, free: 38.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.5107, allocations: 115.8 kB / 497.2 MB, free: 38.21 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005529/0.5163, allocations: 2.676 MB / 499.8 MB, free: 35.53 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.5183, allocations: 0.7475 MB / 0.4889 GB, free: 34.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.5205, allocations: 0.7586 MB / 0.4896 GB, free: 33.99 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.523, allocations: 1.25 MB / 0.4908 GB, free: 32.74 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005712/0.5236, allocations: 120 kB / 0.4909 GB, free: 32.62 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.5257, allocations: 0.5851 MB / 0.4915 GB, free: 32.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001662/0.5274, allocations: 1.063 MB / 0.4925 GB, free: 30.97 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000966/0.5283, allocations: 0.6131 MB / 0.4931 GB, free: 30.35 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00563/0.534, allocations: 3.585 MB / 0.4966 GB, free: 26.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.5341, allocations: 3.938 kB / 0.4966 GB, free: 26.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5341, allocations: 0 / 0.4966 GB, free: 26.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001676/0.5343, allocations: 0 / 0.4966 GB, free: 26.75 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.02583/0.5601, allocations: 4.22 MB / 0.5008 GB, free: 22.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.174e-05/0.5602, allocations: 11.97 kB / 0.5008 GB, free: 22.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/0.5723, allocations: 1.794 MB / 0.5025 GB, free: 20.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/0.5762, allocations: 1.356 MB / 0.5039 GB, free: 19.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.5764, allocations: 143.5 kB / 0.504 GB, free: 19.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008131/0.5772, allocations: 179.9 kB / 0.5042 GB, free: 18.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02185/0.5991, allocations: 8.138 MB / 0.5121 GB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/0.5993, allocations: 23.78 kB / 0.5121 GB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005684/0.5999, allocations: 91.88 kB / 0.5122 GB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004736/0.6047, allocations: 1.836 MB / 0.514 GB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02777/0.6325, allocations: 7.773 MB / 0.5216 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07789/0.7105, allocations: 24.66 MB / 0.5457 GB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01805/0.7286, allocations: 2.666 MB / 0.5483 GB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003471/0.7322, allocations: 0.9885 MB / 0.5493 GB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4452/1.177, allocations: 4.334 MB / 0.5535 GB, free: 86.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/1.178, allocations: 44.7 kB / 0.5535 GB, free: 86.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=142): time 7.334e-06/1.178, allocations: 0 / 0.5535 GB, free: 86.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.02708/1.205, allocations: 7.492 MB / 0.5608 GB, free: 84.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/1.205, allocations: 71.61 kB / 0.5609 GB, free: 84.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008451/1.213, allocations: 2.477 MB / 0.5633 GB, free: 83.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005581/1.214, allocations: 47.45 kB / 0.5634 GB, free: 83.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003239/1.217, allocations: 1.998 MB / 0.5653 GB, free: 81.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001788/1.219, allocations: 0.6108 MB / 0.5659 GB, free: 81.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007014/1.22, allocations: 75.84 kB / 0.566 GB, free: 81.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0007294/1.221, allocations: 474 kB / 0.5665 GB, free: 80.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005051/1.226, allocations: 1.318 MB / 0.5677 GB, free: 80.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00644/1.232, allocations: 3.374 MB / 0.571 GB, free: 77.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005695/1.238, allocations: 2.117 MB / 0.5731 GB, free: 76.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.466e-05/1.238, allocations: 24 kB / 0.5731 GB, free: 76.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=506) (initialization): time 0.01518/1.253, allocations: 4.991 MB / 0.578 GB, free: 71.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.985e-05/1.253, allocations: 36 kB / 0.578 GB, free: 71.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/1.254, allocations: 72 kB / 0.5781 GB, free: 71.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/1.255, allocations: 436.5 kB / 0.5785 GB, free: 71.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004878/1.26, allocations: 0.8289 MB / 0.5793 GB, free: 70.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009586/1.27, allocations: 5.448 MB / 0.5846 GB, free: 64.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005634/1.275, allocations: 188.8 kB / 0.5848 GB, free: 64.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008368/1.276, allocations: 225.1 kB / 0.585 GB, free: 64.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 324 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (455): * Single equations (assignments): 449 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,56.0%) 16,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004131/1.281, allocations: 1.538 MB / 0.5865 GB, free: 62.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007205/1.281, allocations: 217.2 kB / 0.5868 GB, free: 62.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006305/1.288, allocations: 2.343 MB / 0.589 GB, free: 60.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001815/1.288, allocations: 27.98 kB / 0.5891 GB, free: 60.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/1.288, allocations: 7.984 kB / 0.5891 GB, free: 60.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.378e-05/1.288, allocations: 7.969 kB / 0.5891 GB, free: 60.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/1.304, allocations: 6.096 MB / 0.595 GB, free: 54.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.304, allocations: 3.719 kB / 0.595 GB, free: 54.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/1.305, allocations: 228 kB / 0.5953 GB, free: 53.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/1.307, allocations: 279.5 kB / 0.5955 GB, free: 53.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/1.307, allocations: 32.88 kB / 0.5956 GB, free: 53.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006598/1.313, allocations: 4.336 MB / 0.5998 GB, free: 48.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/1.313, allocations: 4 kB / 0.5998 GB, free: 48.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009394/1.323, allocations: 3.521 MB / 0.6032 GB, free: 45.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/1.325, allocations: 310.5 kB / 0.6035 GB, free: 45.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008213/1.325, allocations: 24 kB / 0.6035 GB, free: 45.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/1.327, allocations: 68.91 kB / 0.6036 GB, free: 45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003419/1.328, allocations: 101.1 kB / 0.6037 GB, free: 44.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/1.328, allocations: 48.53 kB / 0.6038 GB, free: 44.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004228/1.332, allocations: 1.599 MB / 0.6053 GB, free: 43.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.41e-07/1.332, allocations: 0 / 0.6053 GB, free: 43.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00617/1.338, allocations: 0.692 MB / 0.606 GB, free: 42.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * 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 (124): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,64.0%) 14,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006271/1.339, allocations: 167.2 kB / 0.6062 GB, free: 42.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009193/1.348, allocations: 3.473 MB / 0.6095 GB, free: 38.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/1.348, allocations: 4 kB / 0.6095 GB, free: 38.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003075/1.351, allocations: 1.323 MB / 0.6108 GB, free: 37.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/1.355, allocations: 362.2 kB / 0.6112 GB, free: 37.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/1.373, allocations: 8.187 MB / 0.6192 GB, free: 28.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003834/1.377, allocations: 2.557 MB / 0.6217 GB, free: 26.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/1.379, allocations: 199.4 kB / 0.6219 GB, free: 26.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/1.379, allocations: 0 / 0.6219 GB, free: 26.19 MB / 378.7 MB Notification: Performance of Templates: time 0.1509/1.53, allocations: 70.42 MB / 0.6906 GB, free: 3.852 MB / 426.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1)