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.001461/0.001461, allocations: 110.5 kB / 16.41 MB, free: 6.504 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.001298/0.001298, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04456/0.04456, allocations: 9.118 MB / 300.3 MB, free: 5.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 415.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09861, allocations: 51.44 MB / 466.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.01005/0.1087, allocations: 8.577 MB / 475.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005548/0.1143, allocations: 2.717 MB / 478 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.1156, allocations: 35.94 kB / 478.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.1168, allocations: 361.6 kB / 478.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004038/0.1209, allocations: 1.416 MB / 479.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/0.1217, allocations: 163.7 kB / 480 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003647/0.1254, allocations: 2.529 MB / 482.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.1269, allocations: 0.8697 MB / 483.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.1286, allocations: 0.9026 MB / 484.3 MB, free: 4 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.1307, allocations: 1.316 MB / 485.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007489/0.1315, allocations: 228 kB / 485.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.1336, allocations: 0.8854 MB / 486.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00152/0.1351, allocations: 1.219 MB / 488 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002517/0.1376, allocations: 1.561 MB / 489.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006212/0.1439, allocations: 5.049 MB / 494.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.1439, allocations: 4 kB / 494.6 MB, free: 5.711 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1439, allocations: 0 / 494.6 MB, free: 5.711 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001905/0.1441, allocations: 0 / 494.6 MB, free: 5.711 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.01879/0.1629, allocations: 5.02 MB / 499.6 MB, free: 0.625 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.163, allocations: 15.97 kB / 499.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007081/0.1701, allocations: 1.759 MB / 0.4896 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00345/0.1735, allocations: 1.429 MB / 0.491 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.1737, allocations: 144 kB / 0.4911 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008639/0.1746, allocations: 203.9 kB / 0.4913 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/0.1903, allocations: 8.452 MB / 0.4996 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.991e-05/0.1904, allocations: 15.88 kB / 0.4996 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006438/0.1911, allocations: 91.86 kB / 0.4997 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003314/0.1944, allocations: 1.887 MB / 0.5015 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2307/0.4251, allocations: 8.119 MB / 0.5095 GB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03381/0.459, allocations: 25.85 MB / 0.5347 GB, free: 21.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008752/0.4678, allocations: 2.85 MB / 0.5375 GB, free: 19.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.4691, allocations: 1.077 MB / 0.5385 GB, free: 18.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005216/0.4743, allocations: 5.018 MB / 0.5434 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.4744, allocations: 59.8 kB / 0.5435 GB, free: 14.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 3.016e-06/0.4744, allocations: 0 / 0.5435 GB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01388/0.4883, allocations: 7.937 MB / 0.5513 GB, free: 6.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.4883, allocations: 64.72 kB / 0.5513 GB, free: 6.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00272/0.4911, allocations: 2.599 MB / 0.5539 GB, free: 3.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/0.4912, allocations: 49.7 kB / 0.5539 GB, free: 3.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000763/0.4919, allocations: 2.05 MB / 0.5559 GB, free: 1.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003503/0.4923, allocations: 0.6342 MB / 0.5565 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007789/0.4931, allocations: 0.8014 MB / 0.5573 GB, free: 76 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4932, allocations: 305.1 kB / 0.5576 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.4953, allocations: 1.374 MB / 0.5589 GB, free: 14.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003556/0.4989, allocations: 3.541 MB / 0.5624 GB, free: 9.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00594/0.5048, allocations: 5.296 MB / 0.5676 GB, free: 3.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.093e-05/0.5049, allocations: 20 kB / 0.5676 GB, free: 3.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.008221/0.5131, allocations: 5.116 MB / 0.5726 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.835e-05/0.5132, allocations: 39.94 kB / 0.5726 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.385e-05/0.5133, allocations: 84.09 kB / 0.5727 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007446/0.514, allocations: 311 kB / 0.573 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/0.5168, allocations: 0.9007 MB / 0.5739 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.5205, allocations: 3.275 MB / 0.5771 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/0.5232, allocations: 199.8 kB / 0.5773 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003906/0.5236, allocations: 236 kB / 0.5775 GB, free: 9.141 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.002322/0.526, allocations: 1.577 MB / 0.579 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003706/0.5263, allocations: 225.1 kB / 0.5792 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/0.5302, allocations: 2.343 MB / 0.5815 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/0.5303, allocations: 31.92 kB / 0.5816 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/0.5304, allocations: 4 kB / 0.5816 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.5304, allocations: 7.969 kB / 0.5816 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.5406, allocations: 6.218 MB / 0.5876 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.5407, allocations: 0 / 0.5876 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.5417, allocations: 255.6 kB / 0.5879 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005608/0.5423, allocations: 209 kB / 0.5881 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.299e-05/0.5424, allocations: 32 kB / 0.5881 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/0.5454, allocations: 2.86 MB / 0.5909 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.5454, allocations: 11.92 kB / 0.5909 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005056/0.5504, allocations: 3.578 MB / 0.5944 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006562/0.5511, allocations: 302.2 kB / 0.5947 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002804/0.5514, allocations: 39.86 kB / 0.5947 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008699/0.5523, allocations: 67.92 kB / 0.5948 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.5525, allocations: 93.19 kB / 0.5949 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.912e-05/0.5526, allocations: 55.27 kB / 0.595 GB, free: 6.918 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002349/0.5549, allocations: 1.676 MB / 0.5966 GB, free: 5.227 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5549, allocations: 0 / 0.5966 GB, free: 5.227 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002867/0.5578, allocations: 0.7083 MB / 0.5973 GB, free: 4.523 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.0003705/0.5582, allocations: 191 kB / 0.5975 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00524/0.5635, allocations: 3.48 MB / 0.6009 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.5635, allocations: 5.062 kB / 0.6009 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.5651, allocations: 1.238 MB / 0.6021 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.567, allocations: 383.4 kB / 0.6024 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.5782, allocations: 7.148 MB / 0.6094 GB, free: 8.012 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/0.581, allocations: 2.598 MB / 0.612 GB, free: 5.383 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007364/0.5817, allocations: 219.4 kB / 0.6122 GB, free: 5.168 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5817, allocations: 4 kB / 0.6122 GB, free: 5.164 MB / 446.1 MB Notification: Performance of Templates: time 0.09114/0.6729, allocations: 73.4 MB / 0.6838 GB, free: 11.85 MB / 0.5137 GB 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)