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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/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) 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002273/0.002273, allocations: 180.9 kB / 7.453 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 221.4 MB / 229.3 MB, free: 3 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001067, allocations: 96.55 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04287/0.04287, allocations: 8.842 MB / 339.7 MB, free: 5.691 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.252e-06, allocations: 0 / 398.1 MB, free: 67.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06801/0.06804, allocations: 52.39 MB / 450.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.296, allocations: 88.53 MB / 0.5264 GB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.2963, allocations: 72.72 kB / 0.5265 GB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1558/0.452, allocations: 58.14 MB / 0.5833 GB, free: 1.844 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.301e-05/0.4522, allocations: 48 kB / 0.5833 GB, free: 1.797 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01576/0.4679, allocations: 3.328 MB / 0.5866 GB, free: 14.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.468, allocations: 8.031 kB / 0.5866 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009564/0.4776, allocations: 1.595 MB / 0.5881 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004098/0.4817, allocations: 1.717 MB / 0.5898 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.4819, allocations: 96 kB / 0.5899 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009994/0.4829, allocations: 163.9 kB / 0.59 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008657/0.4915, allocations: 5.434 MB / 0.5954 GB, free: 5.332 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.5026, allocations: 7.145 MB / 0.6023 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.775e-05/0.5027, allocations: 27.72 kB / 0.6024 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005315/0.5033, allocations: 8 kB / 0.6024 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001278/0.5046, allocations: 0.8997 MB / 0.6032 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03339/0.538, allocations: 23.98 MB / 0.6267 GB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.5399, allocations: 1.178 MB / 0.6278 GB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.5411, allocations: 0.8521 MB / 0.6286 GB, free: 2.305 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005352/0.5465, allocations: 3.803 MB / 0.6324 GB, free: 14.15 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.5465, allocations: 39.56 kB / 0.6324 GB, free: 14.11 MB / 458.7 MB Notification: Performance of pre-optimization done (n=141): time 3.727e-06/0.5466, allocations: 0 / 0.6324 GB, free: 14.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.01092/0.5575, allocations: 5.637 MB / 0.6379 GB, free: 8.391 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.5575, allocations: 72.62 kB / 0.638 GB, free: 8.309 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/0.5602, allocations: 1.832 MB / 0.6398 GB, free: 6.477 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.918e-05/0.5603, allocations: 25.7 kB / 0.6398 GB, free: 6.445 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.5614, allocations: 1.995 MB / 0.6417 GB, free: 4.418 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004504/0.5619, allocations: 0.5703 MB / 0.6423 GB, free: 3.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.562, allocations: 0 / 0.6423 GB, free: 3.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003107/0.5623, allocations: 0.5152 MB / 0.6428 GB, free: 3.312 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.5644, allocations: 1.265 MB / 0.644 GB, free: 2.043 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1143/0.6788, allocations: 3.42 MB / 0.6474 GB, free: 176.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/0.6815, allocations: 2.139 MB / 0.6495 GB, free: 176.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.581e-05/0.6815, allocations: 20.84 kB / 0.6495 GB, free: 176.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.006217/0.6877, allocations: 4.513 MB / 0.6539 GB, free: 176.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.6877, allocations: 6.062 kB / 0.6539 GB, free: 176.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.469e-05/0.6878, allocations: 76.47 kB / 0.654 GB, free: 176.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008601/0.6887, allocations: 360.6 kB / 0.6543 GB, free: 176.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/0.6913, allocations: 0.872 MB / 0.6552 GB, free: 176.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004554/0.6959, allocations: 4.448 MB / 0.6595 GB, free: 174 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.6984, allocations: 95.31 kB / 0.6596 GB, free: 174 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003143/0.6987, allocations: 247.1 kB / 0.6598 GB, free: 174 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 348 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (479): * Single equations (assignments): 473 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,56.0%) 14,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004046/0.6991, allocations: 294.1 kB / 0.6601 GB, free: 173.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.6994, allocations: 186.1 kB / 0.6603 GB, free: 173.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003038/0.7024, allocations: 2.008 MB / 0.6622 GB, free: 173.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001225/0.7026, allocations: 21.05 kB / 0.6623 GB, free: 173.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.7026, allocations: 3.219 kB / 0.6623 GB, free: 173.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.7026, allocations: 7.125 kB / 0.6623 GB, free: 173.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007927/0.7105, allocations: 4.982 MB / 0.6671 GB, free: 173 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.7106, allocations: 3.969 kB / 0.6671 GB, free: 173 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009368/0.7115, allocations: 200.6 kB / 0.6673 GB, free: 173 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006445/0.7122, allocations: 220 kB / 0.6675 GB, free: 173 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/0.7123, allocations: 11.53 kB / 0.6676 GB, free: 173 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003189/0.7155, allocations: 3.688 MB / 0.6712 GB, free: 170.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7155, allocations: 7.406 kB / 0.6712 GB, free: 170.6 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003692/0.7192, allocations: 3.147 MB / 0.6742 GB, free: 170.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.7195, allocations: 263.7 kB / 0.6745 GB, free: 169.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/0.7198, allocations: 4.734 kB / 0.6745 GB, free: 169.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008291/0.7207, allocations: 21.08 kB / 0.6745 GB, free: 169.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.7208, allocations: 71.14 kB / 0.6746 GB, free: 169.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.492e-05/0.7209, allocations: 46.98 kB / 0.6746 GB, free: 169.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001446/0.7224, allocations: 1.239 MB / 0.6758 GB, free: 169.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002652/0.725, allocations: 0.5839 MB / 0.6764 GB, free: 169.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,81.2%) 13,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003134/0.7254, allocations: 154.6 kB / 0.6766 GB, free: 169.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004276/0.7296, allocations: 3.192 MB / 0.6797 GB, free: 169.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7297, allocations: 0 / 0.6797 GB, free: 169.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.7311, allocations: 1.123 MB / 0.6808 GB, free: 168.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009748/0.7321, allocations: 193.6 kB / 0.681 GB, free: 168.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00832/0.7405, allocations: 5.22 MB / 0.686 GB, free: 166.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002876/0.7434, allocations: 2.782 MB / 0.6888 GB, free: 165.5 MB / 458.7 MB Notification: Performance of SimCode: time 7.71e-07/0.7434, allocations: 0 / 0.6888 GB, free: 165.5 MB / 458.7 MB Notification: Performance of Templates: time 0.04113/0.7845, allocations: 23.73 MB / 0.7119 GB, free: 154.1 MB / 458.7 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)