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.001107/0.001107, allocations: 110.3 kB / 16.41 MB, free: 5.984 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.001093/0.001093, allocations: 194.1 kB / 17.35 MB, free: 5.574 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04496/0.04496, allocations: 9.112 MB / 300.3 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 415.3 MB, free: 21.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08352/0.08478, allocations: 51.44 MB / 466.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.009308/0.09412, allocations: 8.592 MB / 475.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005065/0.09922, allocations: 2.717 MB / 478.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007773/0.1, allocations: 35.94 kB / 478.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00076/0.1008, allocations: 353.6 kB / 478.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.1035, allocations: 1.444 MB / 479.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.1039, allocations: 175.7 kB / 480.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002433/0.1064, allocations: 2.528 MB / 482.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008849/0.1073, allocations: 0.8656 MB / 483.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008762/0.1081, allocations: 0.9066 MB / 484.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.1096, allocations: 1.312 MB / 485.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000331/0.1099, allocations: 232 kB / 485.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.1113, allocations: 0.8894 MB / 486.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009864/0.1123, allocations: 1.208 MB / 488 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.1136, allocations: 1.565 MB / 489.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00474/0.1184, allocations: 5.073 MB / 494.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1184, allocations: 0 / 494.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1184, allocations: 0 / 494.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.427e-05/0.1185, allocations: 0 / 494.6 MB, free: 5.625 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: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.01533/0.1338, allocations: 5.115 MB / 499.7 MB, free: 448 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1339, allocations: 8.031 kB / 499.8 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006438/0.1403, allocations: 1.789 MB / 0.4898 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.1426, allocations: 1.422 MB / 0.4912 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.1427, allocations: 152 kB / 0.4913 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004121/0.1432, allocations: 195.9 kB / 0.4915 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/0.1573, allocations: 8.452 MB / 0.4998 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.005e-05/0.1574, allocations: 15.88 kB / 0.4998 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003176/0.1577, allocations: 95.88 kB / 0.4999 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002931/0.1607, allocations: 1.883 MB / 0.5017 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2165/0.3772, allocations: 8.129 MB / 0.5096 GB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03236/0.4096, allocations: 25.91 MB / 0.535 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008977/0.4186, allocations: 2.847 MB / 0.5377 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/0.42, allocations: 1.068 MB / 0.5388 GB, free: 19.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004919/0.4249, allocations: 5.035 MB / 0.5437 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.425, allocations: 51.88 kB / 0.5437 GB, free: 14.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 3.506e-06/0.425, allocations: 0 / 0.5437 GB, free: 14.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01397/0.4389, allocations: 7.992 MB / 0.5516 GB, free: 6.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.439, allocations: 64.72 kB / 0.5516 GB, free: 6.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002781/0.4418, allocations: 2.602 MB / 0.5542 GB, free: 3.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.4419, allocations: 53.22 kB / 0.5542 GB, free: 3.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007725/0.4427, allocations: 2.137 MB / 0.5563 GB, free: 1.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003721/0.4431, allocations: 0.6698 MB / 0.5569 GB, free: 0.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000863/0.4439, allocations: 0.8033 MB / 0.5577 GB, free: 15.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.444, allocations: 305.1 kB / 0.558 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002218/0.4463, allocations: 1.37 MB / 0.5594 GB, free: 14.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003868/0.4501, allocations: 3.533 MB / 0.5628 GB, free: 9.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006557/0.4567, allocations: 5.3 MB / 0.568 GB, free: 3.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.046e-05/0.4568, allocations: 24 kB / 0.568 GB, free: 3.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.009143/0.466, allocations: 5.123 MB / 0.573 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/0.466, allocations: 40 kB / 0.573 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.12e-05/0.4661, allocations: 84.78 kB / 0.5731 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000785/0.4669, allocations: 321.4 kB / 0.5734 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/0.4698, allocations: 0.8929 MB / 0.5743 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003954/0.4737, allocations: 3.286 MB / 0.5775 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/0.4763, allocations: 191.9 kB / 0.5777 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003874/0.4767, allocations: 236 kB / 0.5779 GB, free: 8.953 MB / 414.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.002315/0.479, allocations: 1.581 MB / 0.5795 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/0.4795, allocations: 234.4 kB / 0.5797 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003988/0.4834, allocations: 2.35 MB / 0.582 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.4835, allocations: 7.969 kB / 0.582 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4835, allocations: 3.938 kB / 0.582 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/0.484, allocations: 307.5 kB / 0.5823 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003268/0.4843, allocations: 27.98 kB / 0.5823 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/0.4853, allocations: 63.88 kB / 0.5824 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.4855, allocations: 97.16 kB / 0.5825 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00425/0.4898, allocations: 2.246 MB / 0.5847 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004722/0.4945, allocations: 3.421 MB / 0.588 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001317/0.4958, allocations: 0.897 MB / 0.5889 GB, free: 13.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003063/0.4989, allocations: 1.676 MB / 0.5905 GB, free: 11.99 MB / 430.1 MB Notification: Performance of Backend: time 8.51e-07/0.4989, allocations: 4 kB / 0.5905 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00613/0.5051, allocations: 2.858 MB / 0.5933 GB, free: 9.117 MB / 430.1 MB Notification: Performance of SimCode: time 0.01164/0.5167, allocations: 7.035 MB / 0.6002 GB, free: 2.051 MB / 430.1 MB Notification: Performance of Templates: time 0.06279/0.5795, allocations: 36.17 MB / 0.6355 GB, free: 14.02 MB / 478.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 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1)