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-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.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.0008431/0.0008428, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008551/0.0008551, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.251/0.251, allocations: 9.112 MB / 300.2 MB, free: 2.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003157, allocations: 8 kB / 363.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 52.43 MB / 415.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.2776/0.4138, allocations: 21.24 MB / 436.8 MB, free: 32.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.4263, allocations: 5.253 MB / 442 MB, free: 29.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004747/0.4311, allocations: 83.56 kB / 442.1 MB, free: 29.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00297/0.4341, allocations: 1.004 MB / 443.1 MB, free: 28.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.4442, allocations: 3.655 MB / 446.8 MB, free: 27.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009856/0.4452, allocations: 139.8 kB / 446.9 MB, free: 27.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002631/0.4479, allocations: 2.774 MB / 449.7 MB, free: 26.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009042/0.4488, allocations: 0.7809 MB / 450.5 MB, free: 25.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007972/0.4496, allocations: 0.7907 MB / 451.3 MB, free: 25.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.4508, allocations: 1.296 MB / 452.6 MB, free: 25.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.451, allocations: 128.3 kB / 452.7 MB, free: 25.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.4522, allocations: 0.7125 MB / 453.4 MB, free: 25.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009996/0.4532, allocations: 1.097 MB / 454.5 MB, free: 24.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005443/0.4537, allocations: 0.6315 MB / 455.1 MB, free: 24.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.4566, allocations: 3.715 MB / 458.8 MB, free: 23.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4566, allocations: 3.938 kB / 458.8 MB, free: 23.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4566, allocations: 0 / 458.8 MB, free: 23.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.598e-05/0.4567, allocations: 0 / 458.8 MB, free: 23.41 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: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.01238/0.4691, allocations: 4.412 MB / 463.3 MB, free: 21.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4691, allocations: 15.84 kB / 463.3 MB, free: 21.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007126/0.4763, allocations: 1.807 MB / 465.1 MB, free: 21.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/0.4794, allocations: 1.391 MB / 466.5 MB, free: 20.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.4795, allocations: 148.6 kB / 466.6 MB, free: 20.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003906/0.4799, allocations: 193.1 kB / 466.8 MB, free: 20.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/0.4956, allocations: 8.44 MB / 475.2 MB, free: 16.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.092e-05/0.4957, allocations: 22.11 kB / 475.3 MB, free: 16.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003138/0.496, allocations: 94.84 kB / 475.4 MB, free: 16.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003568/0.4996, allocations: 1.882 MB / 477.2 MB, free: 16.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01869/0.5183, allocations: 8.106 MB / 485.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03737/0.5557, allocations: 25.93 MB / 0.4993 GB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009301/0.5651, allocations: 2.862 MB / 0.5021 GB, free: 380 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.567, allocations: 1.068 MB / 0.5031 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007333/0.5743, allocations: 5.034 MB / 0.508 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.5744, allocations: 47.88 kB / 0.5081 GB, free: 9.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 3.507e-06/0.5744, allocations: 0 / 0.5081 GB, free: 9.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01707/0.5915, allocations: 7.924 MB / 0.5158 GB, free: 1.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.5916, allocations: 68.72 kB / 0.5159 GB, free: 1.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00462/0.5962, allocations: 2.578 MB / 0.5184 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-05/0.5963, allocations: 53.64 kB / 0.5185 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001588/0.5979, allocations: 2.051 MB / 0.5205 GB, free: 12.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005964/0.5985, allocations: 0.6398 MB / 0.5211 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.5987, allocations: 80 kB / 0.5212 GB, free: 12.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004367/0.5992, allocations: 478.9 kB / 0.5216 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/0.6014, allocations: 1.363 MB / 0.523 GB, free: 10.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003729/0.6052, allocations: 3.517 MB / 0.5264 GB, free: 5.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003282/0.6085, allocations: 2.192 MB / 0.5285 GB, free: 3.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-05/0.6085, allocations: 24 kB / 0.5286 GB, free: 3.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.008412/0.617, allocations: 5.08 MB / 0.5335 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.018e-05/0.617, allocations: 40 kB / 0.5336 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/0.6172, allocations: 72 kB / 0.5336 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000754/0.6179, allocations: 329.4 kB / 0.5339 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/0.6207, allocations: 0.897 MB / 0.5348 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003987/0.6247, allocations: 3.02 MB / 0.5378 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.6272, allocations: 196 kB / 0.5379 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004135/0.6276, allocations: 244 kB / 0.5382 GB, free: 9.441 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002868/0.6305, allocations: 1.572 MB / 0.5397 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004133/0.6309, allocations: 225.1 kB / 0.5399 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004124/0.6351, allocations: 2.335 MB / 0.5422 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.46e-05/0.6352, allocations: 27.98 kB / 0.5422 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.6352, allocations: 12.06 kB / 0.5422 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.6352, allocations: 8.25 kB / 0.5423 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.6467, allocations: 6.237 MB / 0.5483 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.6468, allocations: 7.984 kB / 0.5484 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.6478, allocations: 255.9 kB / 0.5486 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005766/0.6484, allocations: 209.5 kB / 0.5488 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.6485, allocations: 31.95 kB / 0.5488 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003051/0.6516, allocations: 2.595 MB / 0.5514 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.6516, allocations: 7.938 kB / 0.5514 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005388/0.657, allocations: 3.57 MB / 0.5549 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008767/0.6579, allocations: 314.1 kB / 0.5552 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005243/0.6584, allocations: 32 kB / 0.5552 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.6595, allocations: 75.86 kB / 0.5553 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.6596, allocations: 101.1 kB / 0.5554 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.6598, allocations: 48 kB / 0.5554 GB, free: 7.414 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003004/0.6628, allocations: 1.664 MB / 0.557 GB, free: 5.734 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6628, allocations: 0 / 0.557 GB, free: 5.734 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003423/0.6662, allocations: 0.7031 MB / 0.5577 GB, free: 5.031 MB / 430.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004594/0.6667, allocations: 186 kB / 0.5579 GB, free: 4.844 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005824/0.6725, allocations: 3.43 MB / 0.5612 GB, free: 1.398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.6725, allocations: 4 kB / 0.5612 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.6743, allocations: 1.243 MB / 0.5625 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.6763, allocations: 375.6 kB / 0.5628 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/0.6898, allocations: 8.142 MB / 0.5708 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00345/0.6933, allocations: 2.594 MB / 0.5733 GB, free: 4.922 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003262/0.6965, allocations: 1.228 MB / 0.5745 GB, free: 3.688 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005938/0.6971, allocations: 183.4 kB / 0.5747 GB, free: 3.508 MB / 446.1 MB Notification: Performance of SimCode: time 2.705e-06/0.6972, allocations: 4 kB / 0.5747 GB, free: 3.504 MB / 446.1 MB Notification: Performance of Templates: time 0.2446/0.9417, allocations: 25.32 MB / 0.5994 GB, free: 119.6 MB / 446.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)