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.001093/0.001093, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001261/0.001261, allocations: 194.6 kB / 16.25 MB, free: 6.629 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.1567/0.1567, allocations: 9.118 MB / 299.2 MB, free: 1.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 361.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09893/0.1002, allocations: 51.43 MB / 412.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.1858/0.286, allocations: 23.44 MB / 436.3 MB, free: 31.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.297, allocations: 5.372 MB / 441.7 MB, free: 28.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005393/0.3024, allocations: 84.06 kB / 441.8 MB, free: 28.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009539/0.3034, allocations: 295.4 kB / 442.1 MB, free: 28.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.3064, allocations: 1.18 MB / 443.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.3067, allocations: 110.5 kB / 443.4 MB, free: 27.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002517/0.3092, allocations: 2.445 MB / 445.8 MB, free: 26.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009282/0.3102, allocations: 0.8606 MB / 446.7 MB, free: 26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008928/0.3111, allocations: 0.8663 MB / 447.5 MB, free: 25.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.3123, allocations: 1.365 MB / 448.9 MB, free: 25.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.3125, allocations: 229.8 kB / 449.1 MB, free: 25.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.3136, allocations: 0.7463 MB / 449.9 MB, free: 24.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007133/0.3143, allocations: 1.188 MB / 451.1 MB, free: 24.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009131/0.3152, allocations: 1.524 MB / 452.6 MB, free: 23.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00339/0.3186, allocations: 4.65 MB / 457.2 MB, free: 21.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3186, allocations: 0 / 457.2 MB, free: 21.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3186, allocations: 4 kB / 457.2 MB, free: 21.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001031/0.3188, allocations: 1.312 kB / 457.2 MB, free: 21.5 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.01605/0.3348, allocations: 4.82 MB / 462.1 MB, free: 19.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3349, allocations: 8.938 kB / 462.1 MB, free: 19.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006215/0.3411, allocations: 1.753 MB / 463.8 MB, free: 19.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.3435, allocations: 1.378 MB / 465.2 MB, free: 18.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.587e-05/0.3436, allocations: 143 kB / 465.3 MB, free: 18.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005036/0.3442, allocations: 188.1 kB / 465.5 MB, free: 18.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/0.3584, allocations: 8.154 MB / 473.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-05/0.3586, allocations: 19.45 kB / 473.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/0.3589, allocations: 91.98 kB / 473.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003261/0.3621, allocations: 1.835 MB / 475.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/0.3789, allocations: 7.807 MB / 483.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0358/0.4147, allocations: 24.72 MB / 0.4962 GB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009866/0.4247, allocations: 2.669 MB / 0.4988 GB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.4265, allocations: 0.9924 MB / 0.4998 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007629/0.4342, allocations: 4.34 MB / 0.5041 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.4343, allocations: 47.56 kB / 0.5041 GB, free: 12.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 4.569e-06/0.4343, allocations: 0 / 0.5041 GB, free: 12.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.01649/0.4508, allocations: 7.502 MB / 0.5114 GB, free: 4.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.4508, allocations: 68.72 kB / 0.5115 GB, free: 4.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005136/0.456, allocations: 2.511 MB / 0.5139 GB, free: 1.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.4563, allocations: 45.7 kB / 0.514 GB, free: 1.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.4578, allocations: 2.001 MB / 0.5159 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006977/0.4585, allocations: 0.6051 MB / 0.5165 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/0.4599, allocations: 0.774 MB / 0.5173 GB, free: 14.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.46, allocations: 301.1 kB / 0.5176 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/0.4624, allocations: 1.343 MB / 0.5189 GB, free: 12.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/0.4661, allocations: 3.383 MB / 0.5222 GB, free: 8.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00589/0.472, allocations: 5.101 MB / 0.5272 GB, free: 2.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.105e-05/0.4721, allocations: 24 kB / 0.5272 GB, free: 2.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.008569/0.4807, allocations: 5.034 MB / 0.5321 GB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/0.4808, allocations: 37 kB / 0.5321 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.436e-05/0.4809, allocations: 72 kB / 0.5322 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.4819, allocations: 422.9 kB / 0.5326 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/0.4845, allocations: 0.8383 MB / 0.5334 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007139/0.4917, allocations: 5.915 MB / 0.5392 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/0.4945, allocations: 188 kB / 0.5394 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005225/0.4951, allocations: 231.9 kB / 0.5396 GB, free: 5.246 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.002498/0.4976, allocations: 1.534 MB / 0.5411 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004837/0.4981, allocations: 217.2 kB / 0.5413 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/0.5023, allocations: 2.353 MB / 0.5436 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001111/0.5025, allocations: 27.98 kB / 0.5436 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.5025, allocations: 4 kB / 0.5436 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.5025, allocations: 12.8 kB / 0.5437 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/0.5142, allocations: 6.111 MB / 0.5496 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.5143, allocations: 0 / 0.5496 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009612/0.5153, allocations: 219.7 kB / 0.5498 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007624/0.516, allocations: 293.6 kB / 0.5501 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.5162, allocations: 24 kB / 0.5501 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005151/0.5213, allocations: 4.692 MB / 0.5547 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5213, allocations: 4 kB / 0.5547 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005508/0.5269, allocations: 3.538 MB / 0.5582 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007028/0.5276, allocations: 294.3 kB / 0.5585 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005435/0.5281, allocations: 31.98 kB / 0.5585 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5292, allocations: 55.94 kB / 0.5585 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.5294, allocations: 97.12 kB / 0.5586 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.5295, allocations: 51.97 kB / 0.5587 GB, free: 1.191 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002978/0.5325, allocations: 1.626 MB / 0.5603 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.5325, allocations: 0 / 0.5603 GB, free: 15.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003036/0.5356, allocations: 0.6955 MB / 0.561 GB, free: 14.85 MB / 446.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.0004018/0.536, allocations: 160.2 kB / 0.5611 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009748/0.5457, allocations: 5.072 MB / 0.5661 GB, free: 9.609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.5458, allocations: 4 kB / 0.5661 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002292/0.5481, allocations: 1.321 MB / 0.5674 GB, free: 8.258 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/0.551, allocations: 385.8 kB / 0.5677 GB, free: 7.898 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.214/0.765, allocations: 8.083 MB / 0.5756 GB, free: 124.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002938/0.768, allocations: 2.551 MB / 0.5781 GB, free: 124.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002684/0.7707, allocations: 1.168 MB / 0.5792 GB, free: 124.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/0.7711, allocations: 169.1 kB / 0.5794 GB, free: 124.1 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.7711, allocations: 0 / 0.5794 GB, free: 124.1 MB / 446.1 MB Notification: Performance of Templates: time 0.04822/0.8193, allocations: 27.43 MB / 0.6062 GB, free: 120.2 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)