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.00771/0.00771, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001458/0.001458, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04328/0.04328, allocations: 9.131 MB / 299.7 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 55.91 kB / 414.6 MB, free: 21.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1091, allocations: 51.45 MB / 466.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.0111/0.1202, allocations: 8.583 MB / 474.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006565/0.1269, allocations: 2.721 MB / 477.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.1285, allocations: 35.94 kB / 477.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.1298, allocations: 353.6 kB / 477.8 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.1343, allocations: 1.408 MB / 479.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00089/0.1352, allocations: 179.6 kB / 479.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004219/0.1394, allocations: 2.522 MB / 481.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.1411, allocations: 0.8658 MB / 482.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.1433, allocations: 0.8987 MB / 483.6 MB, free: 44 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.1455, allocations: 1.315 MB / 485 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005043/0.146, allocations: 232 kB / 485.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.1478, allocations: 0.8855 MB / 486.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.149, allocations: 1.215 MB / 487.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001722/0.1507, allocations: 1.565 MB / 488.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005686/0.1564, allocations: 5.069 MB / 493.9 MB, free: 5.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1565, allocations: 0 / 493.9 MB, free: 5.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1565, allocations: 0 / 493.9 MB, free: 5.727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.367e-05/0.1566, allocations: 0 / 493.9 MB, free: 5.727 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.01643/0.173, allocations: 5.119 MB / 499 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1731, allocations: 8.031 kB / 499 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006573/0.1796, allocations: 1.781 MB / 0.4891 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.1827, allocations: 1.426 MB / 0.4905 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.1829, allocations: 148 kB / 0.4906 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004416/0.1833, allocations: 203.9 kB / 0.4908 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/0.1992, allocations: 8.448 MB / 0.4991 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-05/0.1994, allocations: 19.81 kB / 0.4991 GB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003271/0.1997, allocations: 99.84 kB / 0.4992 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003147/0.2028, allocations: 1.883 MB / 0.501 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2817/0.4846, allocations: 8.119 MB / 0.5089 GB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03535/0.52, allocations: 25.92 MB / 0.5343 GB, free: 21.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008929/0.529, allocations: 2.843 MB / 0.537 GB, free: 19.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.5303, allocations: 1.074 MB / 0.5381 GB, free: 19.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005099/0.5354, allocations: 5.031 MB / 0.543 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.5355, allocations: 47.88 kB / 0.543 GB, free: 14.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 3.497e-06/0.5355, allocations: 8 kB / 0.543 GB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01379/0.5493, allocations: 7.986 MB / 0.5508 GB, free: 6.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.5494, allocations: 72.7 kB / 0.5509 GB, free: 6.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/0.5522, allocations: 2.602 MB / 0.5535 GB, free: 3.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.393e-05/0.5523, allocations: 53.45 kB / 0.5535 GB, free: 3.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008771/0.5532, allocations: 2.132 MB / 0.5556 GB, free: 1.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.5535, allocations: 0.6707 MB / 0.5562 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007857/0.5543, allocations: 0.8026 MB / 0.557 GB, free: 44 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5545, allocations: 301.1 kB / 0.5573 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.5567, allocations: 1.378 MB / 0.5587 GB, free: 14.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003731/0.5604, allocations: 3.537 MB / 0.5621 GB, free: 9.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006311/0.5668, allocations: 5.291 MB / 0.5673 GB, free: 3.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.763e-05/0.5668, allocations: 20 kB / 0.5673 GB, free: 3.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.0085/0.5753, allocations: 5.12 MB / 0.5723 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.216e-05/0.5754, allocations: 46.66 kB / 0.5723 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-05/0.5755, allocations: 72 kB / 0.5724 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007833/0.5763, allocations: 319 kB / 0.5727 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/0.579, allocations: 0.9084 MB / 0.5736 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004028/0.583, allocations: 3.284 MB / 0.5768 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/0.5859, allocations: 193.4 kB / 0.577 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004291/0.5863, allocations: 236 kB / 0.5772 GB, free: 9.102 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.003096/0.5895, allocations: 1.573 MB / 0.5788 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000683/0.5901, allocations: 242.3 kB / 0.579 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/0.5945, allocations: 2.347 MB / 0.5813 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001011/0.5946, allocations: 31.92 kB / 0.5813 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.5946, allocations: 4 kB / 0.5813 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.5947, allocations: 7.969 kB / 0.5813 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.6054, allocations: 6.216 MB / 0.5874 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.6055, allocations: 0 / 0.5874 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.6065, allocations: 251.6 kB / 0.5876 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006049/0.6071, allocations: 212.9 kB / 0.5878 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-05/0.6072, allocations: 32 kB / 0.5879 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003294/0.6105, allocations: 2.862 MB / 0.5907 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.6105, allocations: 4 kB / 0.5907 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005199/0.6157, allocations: 3.604 MB / 0.5942 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/0.6165, allocations: 311.9 kB / 0.5945 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.6167, allocations: 35.92 kB / 0.5945 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008335/0.6176, allocations: 67.92 kB / 0.5946 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.6178, allocations: 97.12 kB / 0.5947 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.6179, allocations: 51.98 kB / 0.5947 GB, free: 6.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002572/0.6205, allocations: 1.676 MB / 0.5964 GB, free: 5.148 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6205, allocations: 0 / 0.5964 GB, free: 5.148 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003183/0.6237, allocations: 0.7145 MB / 0.5971 GB, free: 4.438 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 (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.0004002/0.6241, allocations: 181.2 kB / 0.5972 GB, free: 4.254 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005619/0.6297, allocations: 3.484 MB / 0.6006 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.6297, allocations: 0 / 0.6006 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.6315, allocations: 1.251 MB / 0.6019 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.6337, allocations: 391.2 kB / 0.6022 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.6459, allocations: 6.88 MB / 0.6089 GB, free: 8.164 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002845/0.6488, allocations: 2.594 MB / 0.6115 GB, free: 5.539 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002849/0.6517, allocations: 1.224 MB / 0.6127 GB, free: 4.309 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004568/0.6521, allocations: 175.4 kB / 0.6128 GB, free: 4.137 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6521, allocations: 0 / 0.6128 GB, free: 4.137 MB / 446.1 MB Notification: Performance of Templates: time 0.04817/0.7003, allocations: 26.76 MB / 0.639 GB, free: 9.52 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)