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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/PlanarMechanics 1.5.1-master/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1-master/package.mo): time 0.1702/0.1702, allocations: 9.103 MB / 300.1 MB, free: 2.797 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003125, allocations: 12 kB / 363.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1249, allocations: 52.43 MB / 415.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.2709/0.3958, allocations: 19.93 MB / 435.5 MB, free: 33.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.4073, allocations: 5.355 MB / 440.8 MB, free: 30.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004639/0.412, allocations: 82.34 kB / 440.9 MB, free: 30.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.4154, allocations: 0.9472 MB / 441.8 MB, free: 29.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.4266, allocations: 2.996 MB / 444.8 MB, free: 28.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.4281, allocations: 110.2 kB / 444.9 MB, free: 28.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002984/0.4311, allocations: 1.363 MB / 446.3 MB, free: 27.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.4324, allocations: 0.7566 MB / 447.1 MB, free: 27.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.4336, allocations: 0.6439 MB / 447.7 MB, free: 27.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.4347, allocations: 0.9347 MB / 448.6 MB, free: 26.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002801/0.435, allocations: 122.4 kB / 448.8 MB, free: 26.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.4361, allocations: 0.5818 MB / 449.3 MB, free: 26.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007553/0.4368, allocations: 1.001 MB / 450.3 MB, free: 26.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004984/0.4373, allocations: 0.6189 MB / 451 MB, free: 25.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00301/0.4403, allocations: 3.579 MB / 454.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4404, allocations: 0 / 454.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4404, allocations: 0 / 454.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-05/0.4405, allocations: 0 / 454.5 MB, free: 25.09 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.01415/0.4546, allocations: 4.295 MB / 458.8 MB, free: 23.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4547, allocations: 10.2 kB / 458.8 MB, free: 23.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001281/0.456, allocations: 0.523 MB / 459.4 MB, free: 23.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007599/0.4636, allocations: 2.172 MB / 461.5 MB, free: 22.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/0.467, allocations: 1.35 MB / 462.9 MB, free: 21.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.4671, allocations: 144.1 kB / 463 MB, free: 21.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006185/0.4677, allocations: 188.1 kB / 463.2 MB, free: 21.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02303/0.4908, allocations: 8.168 MB / 471.4 MB, free: 18.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.491, allocations: 25.56 kB / 471.4 MB, free: 18.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/0.4914, allocations: 92.36 kB / 471.5 MB, free: 18.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004408/0.4958, allocations: 1.824 MB / 473.3 MB, free: 17.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02212/0.518, allocations: 7.823 MB / 481.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03595/0.554, allocations: 24.56 MB / 0.4938 GB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009338/0.5634, allocations: 2.662 MB / 0.4964 GB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002027/0.5655, allocations: 1.408 MB / 0.4978 GB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.258e-05/0.5656, allocations: 47.88 kB / 0.4979 GB, free: 4.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=164): time 7.414e-06/0.5656, allocations: 0 / 0.4979 GB, free: 4.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=189): time 0.02878/0.5944, allocations: 9.418 MB / 0.5071 GB, free: 10.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.5945, allocations: 68.72 kB / 0.5071 GB, free: 10.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003871/0.5984, allocations: 2.426 MB / 0.5095 GB, free: 8.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.5985, allocations: 49.7 kB / 0.5095 GB, free: 8.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001365/0.5999, allocations: 1.939 MB / 0.5114 GB, free: 6.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006989/0.6006, allocations: 0.6783 MB / 0.5121 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.6008, allocations: 76 kB / 0.5122 GB, free: 5.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003827/0.6012, allocations: 474.6 kB / 0.5126 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/0.6035, allocations: 1.351 MB / 0.5139 GB, free: 3.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004371/0.6079, allocations: 3.387 MB / 0.5173 GB, free: 15.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00342/0.6114, allocations: 2.167 MB / 0.5194 GB, free: 13.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-05/0.6114, allocations: 20 kB / 0.5194 GB, free: 13 MB / 398.1 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.009066/0.6205, allocations: 5.067 MB / 0.5243 GB, free: 7.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/0.6206, allocations: 36.94 kB / 0.5244 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001411/0.6207, allocations: 72 kB / 0.5244 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.6219, allocations: 454.8 kB / 0.5249 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/0.6246, allocations: 0.8422 MB / 0.5257 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007462/0.632, allocations: 5.559 MB / 0.5311 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/0.6354, allocations: 188 kB / 0.5313 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005443/0.636, allocations: 228 kB / 0.5315 GB, free: 284 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 325 * 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 (462): * Single equations (assignments): 456 * 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.00312/0.6391, allocations: 1.546 MB / 0.533 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004571/0.6396, allocations: 221.1 kB / 0.5332 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004827/0.6444, allocations: 2.743 MB / 0.5359 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001175/0.6446, allocations: 31.94 kB / 0.536 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.6446, allocations: 8 kB / 0.536 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.6446, allocations: 7.969 kB / 0.536 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.6577, allocations: 6.71 MB / 0.5425 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.6577, allocations: 4 kB / 0.5425 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.6588, allocations: 259.6 kB / 0.5428 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008321/0.6596, allocations: 289.4 kB / 0.543 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.6597, allocations: 35.98 kB / 0.5431 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005354/0.6651, allocations: 4.434 MB / 0.5474 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.6651, allocations: 8 kB / 0.5474 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00626/0.6714, allocations: 4.272 MB / 0.5516 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.6724, allocations: 318.1 kB / 0.5519 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/0.6727, allocations: 39.94 kB / 0.5519 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008696/0.6736, allocations: 63.94 kB / 0.552 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/0.6739, allocations: 121.1 kB / 0.5521 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.674, allocations: 51.98 kB / 0.5522 GB, free: 10.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002754/0.6767, allocations: 1.587 MB / 0.5537 GB, free: 8.758 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6767, allocations: 0 / 0.5537 GB, free: 8.758 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003409/0.6802, allocations: 0.7031 MB / 0.5544 GB, free: 8.055 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (143): * Single equations (assignments): 137 * 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.007853/0.688, allocations: 6.32 MB / 0.5606 GB, free: 1.543 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006423/0.6945, allocations: 3.587 MB / 0.5641 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/0.6945, allocations: 4.562 kB / 0.5641 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.6967, allocations: 1.413 MB / 0.5655 GB, free: 12.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.6985, allocations: 348.1 kB / 0.5658 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2933/0.9918, allocations: 70.19 MB / 0.6343 GB, free: 57.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002588/0.9944, allocations: 2.619 MB / 0.6369 GB, free: 57.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002926/0.9973, allocations: 1.223 MB / 0.6381 GB, free: 57.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/0.9992, allocations: 1.268 MB / 0.6393 GB, free: 57.06 MB / 446.1 MB Notification: Performance of SimCode: time 1.603e-06/0.9992, allocations: 0.75 kB / 0.6393 GB, free: 57.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08581/1.085, allocations: 54.05 MB / 0.6921 GB, free: 29.08 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001229/1.085, allocations: 205 kB / 0.6923 GB, free: 28.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/4.066, allocations: 0 / 0.6923 GB, free: 28.84 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) Environment - environmentSimulation: