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.001398/0.001398, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001747/0.001747, allocations: 193.9 kB / 16.14 MB, free: 6.703 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.1879/0.1879, allocations: 9.112 MB / 299.1 MB, free: 1.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 59.91 kB / 361.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1138, allocations: 51.44 MB / 412.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.1849/0.2988, allocations: 23.54 MB / 436.3 MB, free: 31.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.3091, allocations: 5.526 MB / 441.8 MB, free: 28.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003893/0.313, allocations: 85.12 kB / 441.9 MB, free: 28.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009077/0.314, allocations: 310.2 kB / 442.2 MB, free: 27.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.3167, allocations: 1.317 MB / 443.5 MB, free: 27.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.3171, allocations: 139.8 kB / 443.6 MB, free: 27.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002483/0.3196, allocations: 3.475 MB / 447.1 MB, free: 26.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008545/0.3205, allocations: 0.7963 MB / 447.9 MB, free: 25.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008787/0.3214, allocations: 0.7546 MB / 448.6 MB, free: 25.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.3227, allocations: 1.326 MB / 450 MB, free: 25.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003327/0.323, allocations: 133.6 kB / 450.1 MB, free: 25.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.3244, allocations: 0.8283 MB / 450.9 MB, free: 24.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008165/0.3252, allocations: 1.132 MB / 452.1 MB, free: 24.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.3263, allocations: 1.465 MB / 453.5 MB, free: 23.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.3301, allocations: 4.683 MB / 458.2 MB, free: 21.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3301, allocations: 0 / 458.2 MB, free: 21.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3302, allocations: 0 / 458.2 MB, free: 21.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001321/0.3303, allocations: 0 / 458.2 MB, free: 21.61 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.01585/0.3461, allocations: 5.026 MB / 463.2 MB, free: 19.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3462, allocations: 9.25 kB / 463.2 MB, free: 19.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006528/0.3527, allocations: 1.766 MB / 465 MB, free: 19.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003104/0.3559, allocations: 1.417 MB / 466.4 MB, free: 18.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.3561, allocations: 147.5 kB / 466.6 MB, free: 18.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007346/0.3568, allocations: 198.6 kB / 466.8 MB, free: 18.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.3733, allocations: 8.458 MB / 475.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.152e-05/0.3735, allocations: 25.62 kB / 475.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004158/0.3739, allocations: 90.06 kB / 475.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003276/0.3772, allocations: 1.885 MB / 477.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01663/0.3938, allocations: 8.124 MB / 485.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03668/0.4306, allocations: 25.93 MB / 0.4993 GB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009992/0.4406, allocations: 2.846 MB / 0.5021 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.4425, allocations: 1.08 MB / 0.5031 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006986/0.4495, allocations: 5.024 MB / 0.508 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.4496, allocations: 51.86 kB / 0.5081 GB, free: 7.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 3.627e-06/0.4496, allocations: 0 / 0.5081 GB, free: 7.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01747/0.4671, allocations: 7.939 MB / 0.5158 GB, free: 15.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.4672, allocations: 64.72 kB / 0.5159 GB, free: 15.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00373/0.4709, allocations: 2.594 MB / 0.5184 GB, free: 13.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001973/0.4712, allocations: 49.61 kB / 0.5185 GB, free: 13.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001462/0.4726, allocations: 2.054 MB / 0.5205 GB, free: 11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007371/0.4734, allocations: 0.636 MB / 0.5211 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.4746, allocations: 0.802 MB / 0.5219 GB, free: 9.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4748, allocations: 309.1 kB / 0.5222 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/0.4771, allocations: 1.378 MB / 0.5235 GB, free: 7.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004009/0.4811, allocations: 3.524 MB / 0.527 GB, free: 3.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006552/0.4877, allocations: 5.3 MB / 0.5321 GB, free: 12.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.687e-05/0.4878, allocations: 24 kB / 0.5322 GB, free: 12.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.009138/0.4969, allocations: 5.101 MB / 0.5371 GB, free: 7.777 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/0.497, allocations: 43.94 kB / 0.5372 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.7e-05/0.4971, allocations: 76.12 kB / 0.5373 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008096/0.4979, allocations: 313.5 kB / 0.5376 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/0.5007, allocations: 0.9007 MB / 0.5384 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/0.5046, allocations: 3.035 MB / 0.5414 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/0.5082, allocations: 191.9 kB / 0.5416 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006385/0.5089, allocations: 236 kB / 0.5418 GB, free: 2.855 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.003449/0.5124, allocations: 1.585 MB / 0.5434 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004698/0.5129, allocations: 228.9 kB / 0.5436 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00421/0.5171, allocations: 2.343 MB / 0.5459 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001091/0.5172, allocations: 27.98 kB / 0.5459 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.5172, allocations: 4 kB / 0.5459 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.5173, allocations: 7.969 kB / 0.5459 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.5285, allocations: 6.251 MB / 0.552 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.5286, allocations: 4 kB / 0.552 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.5296, allocations: 247.6 kB / 0.5522 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006244/0.5303, allocations: 216.5 kB / 0.5525 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.5304, allocations: 35.98 kB / 0.5525 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002885/0.5333, allocations: 2.588 MB / 0.555 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.5333, allocations: 7.938 kB / 0.555 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005173/0.5385, allocations: 3.578 MB / 0.5585 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000571/0.5391, allocations: 314.1 kB / 0.5588 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/0.5394, allocations: 32.22 kB / 0.5588 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008765/0.5403, allocations: 75.86 kB / 0.5589 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.5405, allocations: 89.19 kB / 0.559 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.5406, allocations: 59.91 kB / 0.5591 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002518/0.5431, allocations: 1.679 MB / 0.5607 GB, free: 15.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5431, allocations: 0 / 0.5607 GB, free: 15.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003099/0.5462, allocations: 0.7031 MB / 0.5614 GB, free: 14.4 MB / 446.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.0004575/0.5467, allocations: 178.9 kB / 0.5616 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005872/0.5526, allocations: 3.457 MB / 0.5649 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.5526, allocations: 448 / 0.5649 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.5544, allocations: 1.245 MB / 0.5662 GB, free: 9.461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.5567, allocations: 375.8 kB / 0.5665 GB, free: 9.105 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.5702, allocations: 8.378 MB / 0.5747 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1851/0.7554, allocations: 2.598 MB / 0.5772 GB, free: 124 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003076/0.7585, allocations: 1.22 MB / 0.5784 GB, free: 123.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005468/0.7591, allocations: 187.6 kB / 0.5786 GB, free: 123.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.213e-06/0.7591, allocations: 2.719 kB / 0.5786 GB, free: 123.9 MB / 446.1 MB Notification: Performance of Templates: time 0.05032/0.8094, allocations: 26.18 MB / 0.6042 GB, free: 120.8 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)