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.6.0-master/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.009038/0.009038, allocations: 171.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.2062/0.2062, allocations: 9.108 MB / 300.5 MB, free: 2.746 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 8 kB / 363.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1022, allocations: 52.43 MB / 416.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.195/0.2972, allocations: 22.68 MB / 438.8 MB, free: 29.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.3087, allocations: 5.358 MB / 444.2 MB, free: 28.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00355/0.3122, allocations: 84.88 kB / 444.3 MB, free: 28.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008754/0.3131, allocations: 296.1 kB / 444.6 MB, free: 27.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002918/0.3161, allocations: 1.183 MB / 445.8 MB, free: 27.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.3165, allocations: 108.2 kB / 445.9 MB, free: 27.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002861/0.3193, allocations: 3.361 MB / 449.2 MB, free: 26.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008986/0.3203, allocations: 0.7647 MB / 450 MB, free: 25.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008623/0.3211, allocations: 0.7228 MB / 450.7 MB, free: 25.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.3224, allocations: 1.261 MB / 452 MB, free: 25.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003233/0.3228, allocations: 120.3 kB / 452.1 MB, free: 25.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.324, allocations: 0.6803 MB / 452.8 MB, free: 25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009552/0.325, allocations: 1.101 MB / 453.9 MB, free: 24.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.3262, allocations: 1.447 MB / 455.3 MB, free: 23.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003906/0.3301, allocations: 4.395 MB / 459.7 MB, free: 22.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3301, allocations: 0 / 459.7 MB, free: 22.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3301, allocations: 0 / 459.7 MB, free: 22.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001058/0.3303, allocations: 3.219 kB / 459.7 MB, free: 22.23 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.01417/0.3444, allocations: 4.182 MB / 463.9 MB, free: 20.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.3445, allocations: 11.84 kB / 463.9 MB, free: 20.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007359/0.3519, allocations: 1.8 MB / 465.7 MB, free: 20.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/0.355, allocations: 1.379 MB / 467.1 MB, free: 19.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.3551, allocations: 142 kB / 467.2 MB, free: 19.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000673/0.3558, allocations: 193.8 kB / 467.4 MB, free: 19.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/0.3778, allocations: 8.159 MB / 475.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001841/0.378, allocations: 16.12 kB / 475.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000578/0.3786, allocations: 92.61 kB / 475.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003985/0.3826, allocations: 1.831 MB / 477.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01969/0.4023, allocations: 7.816 MB / 485.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0365/0.4389, allocations: 24.75 MB / 0.4981 GB, free: 4.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009981/0.4489, allocations: 2.679 MB / 0.5007 GB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.4508, allocations: 0.9885 MB / 0.5017 GB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007882/0.4587, allocations: 4.348 MB / 0.506 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.432e-05/0.4588, allocations: 51.55 kB / 0.506 GB, free: 12.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 6.612e-06/0.4588, allocations: 3.984 kB / 0.506 GB, free: 12.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.01714/0.476, allocations: 7.499 MB / 0.5133 GB, free: 4.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.4761, allocations: 72.7 kB / 0.5134 GB, free: 4.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004271/0.4803, allocations: 2.507 MB / 0.5158 GB, free: 2.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003115/0.4807, allocations: 49.69 kB / 0.5159 GB, free: 2.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001897/0.4826, allocations: 1.985 MB / 0.5178 GB, free: 48 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009634/0.4836, allocations: 0.6169 MB / 0.5184 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006573/0.4843, allocations: 318.2 kB / 0.5187 GB, free: 15.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4844, allocations: 305.1 kB / 0.519 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.487, allocations: 1.335 MB / 0.5203 GB, free: 13.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00384/0.4909, allocations: 3.383 MB / 0.5236 GB, free: 9.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00675/0.4977, allocations: 5.117 MB / 0.5286 GB, free: 2.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.026e-05/0.4978, allocations: 20 kB / 0.5287 GB, free: 2.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01022/0.508, allocations: 5.028 MB / 0.5336 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.932e-05/0.5081, allocations: 38.5 kB / 0.5336 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-05/0.5082, allocations: 72 kB / 0.5337 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.5093, allocations: 414 kB / 0.5341 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002848/0.5121, allocations: 0.8346 MB / 0.5349 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007178/0.5193, allocations: 5.472 MB / 0.5402 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/0.5227, allocations: 188 kB / 0.5404 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007214/0.5235, allocations: 235.9 kB / 0.5406 GB, free: 6.398 MB / 414.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 (456): * Single equations (assignments): 450 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,56.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003608/0.5271, allocations: 1.527 MB / 0.5421 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005636/0.5277, allocations: 213.2 kB / 0.5423 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/0.532, allocations: 2.369 MB / 0.5446 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/0.5321, allocations: 27.98 kB / 0.5447 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.5322, allocations: 4 kB / 0.5447 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.5322, allocations: 11.97 kB / 0.5447 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.5429, allocations: 6.107 MB / 0.5506 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.543, allocations: 4.281 kB / 0.5506 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009578/0.544, allocations: 223.7 kB / 0.5509 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007564/0.5447, allocations: 273.4 kB / 0.5511 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.549e-05/0.5449, allocations: 32 kB / 0.5512 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005/0.5499, allocations: 4.338 MB / 0.5554 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.012e-05/0.5499, allocations: 7.938 kB / 0.5554 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005652/0.5556, allocations: 3.534 MB / 0.5588 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008061/0.5564, allocations: 306.2 kB / 0.5591 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.5567, allocations: 28 kB / 0.5592 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008665/0.5576, allocations: 67.92 kB / 0.5592 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/0.5578, allocations: 97.3 kB / 0.5593 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.558, allocations: 48.11 kB / 0.5594 GB, free: 2.695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002729/0.5607, allocations: 1.622 MB / 0.561 GB, free: 1.055 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5607, allocations: 0 / 0.561 GB, free: 1.055 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003273/0.564, allocations: 0.6913 MB / 0.5616 GB, free: 372 kB / 430.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004464/0.5644, allocations: 171 kB / 0.5618 GB, free: 192 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006411/0.5709, allocations: 3.496 MB / 0.5652 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.5709, allocations: 4 kB / 0.5652 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002301/0.5732, allocations: 1.328 MB / 0.5665 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/0.5763, allocations: 350.3 kB / 0.5668 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.5905, allocations: 8.193 MB / 0.5748 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002942/0.5935, allocations: 2.549 MB / 0.5773 GB, free: 172 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.218/0.8115, allocations: 1.17 MB / 0.5785 GB, free: 104.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000544/0.812, allocations: 165.5 kB / 0.5786 GB, free: 104.8 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.812, allocations: 0 / 0.5786 GB, free: 104.8 MB / 446.1 MB Notification: Performance of Templates: time 0.0459/0.858, allocations: 26.11 MB / 0.6041 GB, free: 101.3 MB / 446.1 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)