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/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/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.001213/0.001213, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001188/0.001188, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04589/0.04589, allocations: 9.121 MB / 300.3 MB, free: 5.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 415.3 MB, free: 21.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.0948, allocations: 51.45 MB / 466.8 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.00976/0.1046, allocations: 8.482 MB / 475.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005158/0.1098, allocations: 2.593 MB / 477.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.111, allocations: 39.94 kB / 477.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.1122, allocations: 357.6 kB / 478.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003817/0.1161, allocations: 1.311 MB / 479.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.1167, allocations: 119.8 kB / 479.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003357/0.12, allocations: 2.432 MB / 482.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.1215, allocations: 0.8538 MB / 482.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.1232, allocations: 0.8599 MB / 483.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.1257, allocations: 1.269 MB / 485.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008841/0.1266, allocations: 224 kB / 485.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.1285, allocations: 0.7411 MB / 486 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001594/0.1301, allocations: 1.173 MB / 487.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002612/0.1327, allocations: 1.515 MB / 488.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005475/0.1382, allocations: 4.886 MB / 493.6 MB, free: 6.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1382, allocations: 0 / 493.6 MB, free: 6.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1383, allocations: 0 / 493.6 MB, free: 6.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.645e-05/0.1384, allocations: 0 / 493.6 MB, free: 6.723 MB / 366.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.01501/0.1534, allocations: 4.893 MB / 498.5 MB, free: 1.758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.1534, allocations: 8.031 kB / 498.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006421/0.1599, allocations: 1.776 MB / 0.4885 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/0.1627, allocations: 1.392 MB / 0.4899 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.1629, allocations: 141.2 kB / 0.49 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004206/0.1633, allocations: 191.8 kB / 0.4902 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/0.1764, allocations: 8.155 MB / 0.4982 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.427e-05/0.1765, allocations: 23.77 kB / 0.4982 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.1768, allocations: 95.8 kB / 0.4983 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002737/0.1796, allocations: 1.836 MB / 0.5001 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2234/0.403, allocations: 7.793 MB / 0.5077 GB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02979/0.4329, allocations: 24.72 MB / 0.5318 GB, free: 22.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007508/0.4404, allocations: 2.656 MB / 0.5344 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.4416, allocations: 0.9952 MB / 0.5354 GB, free: 20.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004345/0.4459, allocations: 4.354 MB / 0.5397 GB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.446, allocations: 46.44 kB / 0.5397 GB, free: 17.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 3.276e-06/0.446, allocations: 0 / 0.5397 GB, free: 17.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.01237/0.4584, allocations: 7.56 MB / 0.5471 GB, free: 11.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.4584, allocations: 68.72 kB / 0.5472 GB, free: 11.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/0.4612, allocations: 2.512 MB / 0.5496 GB, free: 8.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.954e-05/0.4613, allocations: 45.7 kB / 0.5497 GB, free: 8.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007763/0.462, allocations: 2.078 MB / 0.5517 GB, free: 6.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/0.4624, allocations: 0.6375 MB / 0.5523 GB, free: 5.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007787/0.4632, allocations: 0.7746 MB / 0.5531 GB, free: 5.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.4632, allocations: 305.1 kB / 0.5534 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.4649, allocations: 1.335 MB / 0.5547 GB, free: 3.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002527/0.4674, allocations: 3.39 MB / 0.558 GB, free: 15.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00606/0.4735, allocations: 5.107 MB / 0.563 GB, free: 8.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-05/0.4736, allocations: 21.78 kB / 0.563 GB, free: 8.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.0082/0.4818, allocations: 5.039 MB / 0.5679 GB, free: 3.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.121e-05/0.4818, allocations: 40 kB / 0.5679 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.802e-05/0.4819, allocations: 72 kB / 0.568 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.4829, allocations: 413.4 kB / 0.5684 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/0.4855, allocations: 0.8305 MB / 0.5692 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007271/0.4927, allocations: 5.924 MB / 0.575 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/0.4954, allocations: 196.4 kB / 0.5752 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003303/0.4957, allocations: 224 kB / 0.5754 GB, free: 11.95 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.002207/0.498, allocations: 1.538 MB / 0.5769 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/0.4983, allocations: 228.5 kB / 0.5771 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003937/0.5022, allocations: 2.357 MB / 0.5794 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.5023, allocations: 7.969 kB / 0.5794 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5023, allocations: 0 / 0.5794 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/0.5027, allocations: 309.3 kB / 0.5797 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.5029, allocations: 33.17 kB / 0.5797 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007836/0.5037, allocations: 59.92 kB / 0.5798 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.5039, allocations: 105.1 kB / 0.5799 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004096/0.508, allocations: 2.272 MB / 0.5821 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004466/0.5125, allocations: 3.332 MB / 0.5854 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001194/0.5137, allocations: 0.862 MB / 0.5862 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002355/0.5161, allocations: 1.622 MB / 0.5878 GB, free: 15.18 MB / 430.1 MB Notification: Performance of Backend: time 4.41e-07/0.5161, allocations: 4 kB / 0.5878 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005509/0.5216, allocations: 2.914 MB / 0.5907 GB, free: 12.26 MB / 430.1 MB Notification: Performance of SimCode: time 0.01079/0.5324, allocations: 6.856 MB / 0.5974 GB, free: 5.367 MB / 430.1 MB Notification: Performance of Templates: time 0.06285/0.5953, allocations: 35.41 MB / 0.6319 GB, free: 2.094 MB / 462.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)