Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.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.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 103.3 kB / 16.35 MB, free: 5.824 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.002028/0.002028, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.37/1.37, allocations: 222.9 MB / 241 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.04546/0.04546, allocations: 9.118 MB / 300.3 MB, free: 5.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 363.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2473, allocations: 51.43 MB / 414.8 MB, free: 25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.0072/0.2546, allocations: 8.586 MB / 423.4 MB, free: 16.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00485/0.2594, allocations: 2.719 MB / 426.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.2606, allocations: 31.94 kB / 426.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008837/0.2616, allocations: 365.5 kB / 426.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.2643, allocations: 1.404 MB / 427.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.2648, allocations: 171.7 kB / 428.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002274/0.2671, allocations: 2.524 MB / 430.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008261/0.268, allocations: 0.8695 MB / 431.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007/0.2687, allocations: 0.8987 MB / 432.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.2697, allocations: 1.323 MB / 433.7 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.27, allocations: 228 kB / 433.9 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.2712, allocations: 0.8894 MB / 434.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007325/0.2719, allocations: 1.204 MB / 436 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.273, allocations: 1.565 MB / 437.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004239/0.2772, allocations: 5.033 MB / 442.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2772, allocations: 0 / 442.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2772, allocations: 0 / 442.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.814e-05/0.2773, allocations: 0 / 442.6 MB, free: 13.09 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.01627/0.2936, allocations: 5.031 MB / 447.6 MB, free: 7.992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.2937, allocations: 8.031 kB / 447.6 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006682/0.3003, allocations: 1.771 MB / 449.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004035/0.3044, allocations: 1.414 MB / 450.8 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.3046, allocations: 148 kB / 451 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005606/0.3052, allocations: 199.9 kB / 451.2 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/0.3203, allocations: 8.452 MB / 459.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.12e-05/0.3204, allocations: 23.72 kB / 459.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003109/0.3207, allocations: 95.86 kB / 459.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002977/0.3237, allocations: 1.883 MB / 461.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01943/0.3432, allocations: 8.136 MB / 469.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04181/0.385, allocations: 25.83 MB / 495.6 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009522/0.3946, allocations: 2.859 MB / 498.4 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.3964, allocations: 1.073 MB / 499.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008004/0.4044, allocations: 5.015 MB / 0.4927 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.4045, allocations: 43.88 kB / 0.4928 GB, free: 13.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 4.067e-06/0.4045, allocations: 0 / 0.4928 GB, free: 13.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01846/0.423, allocations: 7.943 MB / 0.5005 GB, free: 5.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.4231, allocations: 72.72 kB / 0.5006 GB, free: 5.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004228/0.4273, allocations: 2.593 MB / 0.5031 GB, free: 2.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001574/0.4275, allocations: 53.7 kB / 0.5032 GB, free: 2.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001447/0.4289, allocations: 2.051 MB / 0.5052 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.213/0.642, allocations: 0.6302 MB / 0.5058 GB, free: 89.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001525/0.6435, allocations: 0.8012 MB / 0.5066 GB, free: 88.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.6436, allocations: 304.9 kB / 0.5069 GB, free: 88.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002444/0.646, allocations: 1.373 MB / 0.5082 GB, free: 88.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002975/0.649, allocations: 3.532 MB / 0.5116 GB, free: 84.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005848/0.6549, allocations: 5.302 MB / 0.5168 GB, free: 80.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-05/0.655, allocations: 21.22 kB / 0.5168 GB, free: 80.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.007662/0.6626, allocations: 5.112 MB / 0.5218 GB, free: 78.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.6627, allocations: 35 kB / 0.5219 GB, free: 78.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-05/0.6628, allocations: 77.66 kB / 0.5219 GB, free: 78.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007313/0.6636, allocations: 318.4 kB / 0.5222 GB, free: 78.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.666, allocations: 0.8941 MB / 0.5231 GB, free: 78.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/0.6692, allocations: 3.292 MB / 0.5263 GB, free: 76.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/0.6717, allocations: 191.1 kB / 0.5265 GB, free: 76.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003097/0.6721, allocations: 243.6 kB / 0.5267 GB, free: 75.97 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * 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 (490): * Single equations (assignments): 484 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001809/0.6739, allocations: 1.575 MB / 0.5283 GB, free: 74.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.6742, allocations: 224.3 kB / 0.5285 GB, free: 74.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/0.6773, allocations: 2.35 MB / 0.5308 GB, free: 72.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-05/0.6774, allocations: 31.75 kB / 0.5308 GB, free: 72.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.6775, allocations: 0 / 0.5308 GB, free: 72.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.6775, allocations: 15.3 kB / 0.5308 GB, free: 72.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008976/0.6865, allocations: 6.213 MB / 0.5369 GB, free: 66.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.6865, allocations: 0 / 0.5369 GB, free: 66.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009531/0.6875, allocations: 259.9 kB / 0.5372 GB, free: 66.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005222/0.688, allocations: 210.2 kB / 0.5374 GB, free: 66.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.399e-05/0.6881, allocations: 35.98 kB / 0.5374 GB, free: 66.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.6905, allocations: 2.859 MB / 0.5402 GB, free: 63.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6905, allocations: 4 kB / 0.5402 GB, free: 63.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004125/0.6946, allocations: 3.589 MB / 0.5437 GB, free: 59.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005789/0.6952, allocations: 298.3 kB / 0.544 GB, free: 59.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.6955, allocations: 28.19 kB / 0.544 GB, free: 59.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/0.6964, allocations: 67.92 kB / 0.5441 GB, free: 59.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.6966, allocations: 109 kB / 0.5442 GB, free: 59.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.086e-05/0.6967, allocations: 48 kB / 0.5442 GB, free: 59.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001969/0.6986, allocations: 1.679 MB / 0.5459 GB, free: 57.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6986, allocations: 0 / 0.5459 GB, free: 57.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002932/0.7016, allocations: 0.7002 MB / 0.5465 GB, free: 57.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.w) * 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 (138): * Single equations (assignments): 132 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003547/0.7019, allocations: 187.8 kB / 0.5467 GB, free: 56.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004593/0.7065, allocations: 3.479 MB / 0.5501 GB, free: 53.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7066, allocations: 4 kB / 0.5501 GB, free: 53.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.7079, allocations: 1.235 MB / 0.5513 GB, free: 52.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.7096, allocations: 399.1 kB / 0.5517 GB, free: 51.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.7196, allocations: 6.781 MB / 0.5583 GB, free: 44.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/0.7218, allocations: 2.6 MB / 0.5609 GB, free: 42.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002521/0.7243, allocations: 1.216 MB / 0.5621 GB, free: 41.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.7247, allocations: 179.4 kB / 0.5622 GB, free: 40.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.7247, allocations: 0 / 0.5622 GB, free: 40.84 MB / 382.1 MB Notification: Performance of Templates: time 0.04074/0.7655, allocations: 25.33 MB / 0.587 GB, free: 15.72 MB / 382.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1)