Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.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: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006258/0.006258, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001241/0.001241, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1541/0.1541, allocations: 9.107 MB / 299.6 MB, free: 1.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 60.11 kB / 414.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2372, allocations: 51.43 MB / 465.6 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.009659/0.2469, allocations: 8.794 MB / 474.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00505/0.252, allocations: 2.725 MB / 477.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008789/0.2529, allocations: 34.19 kB / 477.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007219/0.2536, allocations: 367.1 kB / 477.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.2562, allocations: 1.416 MB / 478.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.2566, allocations: 178.2 kB / 479.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002891/0.2595, allocations: 2.549 MB / 481.6 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.2606, allocations: 0.8782 MB / 482.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009195/0.2616, allocations: 0.9076 MB / 483.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.2628, allocations: 1.325 MB / 484.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003363/0.2632, allocations: 233.2 kB / 485 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.2648, allocations: 0.8956 MB / 485.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.266, allocations: 1.217 MB / 487.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.2674, allocations: 1.577 MB / 488.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005112/0.2725, allocations: 5.099 MB / 493.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2725, allocations: 0 / 493.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2725, allocations: 0 / 493.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.817e-05/0.2726, allocations: 5.031 kB / 493.8 MB, free: 15.17 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: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.0219/0.2945, allocations: 5.142 MB / 498.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.2946, allocations: 12.03 kB / 498.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001453/0.2961, allocations: 0.5312 MB / 499.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00957/0.3057, allocations: 1.808 MB / 0.4895 GB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003674/0.3094, allocations: 1.445 MB / 0.4909 GB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.3095, allocations: 148 kB / 0.4911 GB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000516/0.3101, allocations: 203.7 kB / 0.4912 GB, free: 6.438 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01792/0.328, allocations: 8.468 MB / 0.4995 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-05/0.3281, allocations: 27.81 kB / 0.4995 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003308/0.3284, allocations: 95.8 kB / 0.4996 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003814/0.3323, allocations: 1.883 MB / 0.5015 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02146/0.3537, allocations: 8.148 MB / 0.5094 GB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03969/0.3935, allocations: 25.96 MB / 0.5348 GB, free: 8.934 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009812/0.4033, allocations: 2.85 MB / 0.5376 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.4051, allocations: 1.08 MB / 0.5386 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006512/0.4116, allocations: 5.051 MB / 0.5436 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.4116, allocations: 43.88 kB / 0.5436 GB, free: 15.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.196e-06/0.4116, allocations: 0 / 0.5436 GB, free: 15.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=175): time 0.01915/0.4308, allocations: 8.484 MB / 0.5519 GB, free: 6.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.4309, allocations: 68.72 kB / 0.5519 GB, free: 6.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003856/0.4348, allocations: 2.642 MB / 0.5545 GB, free: 3.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.4349, allocations: 53.7 kB / 0.5546 GB, free: 3.852 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.4365, allocations: 2.15 MB / 0.5567 GB, free: 1.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006535/0.4371, allocations: 0.6665 MB / 0.5573 GB, free: 1.008 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.4383, allocations: 0.8143 MB / 0.5581 GB, free: 188 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4385, allocations: 305.1 kB / 0.5584 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/0.4408, allocations: 1.374 MB / 0.5598 GB, free: 14.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004228/0.445, allocations: 3.548 MB / 0.5632 GB, free: 9.891 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006769/0.4518, allocations: 5.325 MB / 0.5684 GB, free: 3.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.724e-05/0.4519, allocations: 24 kB / 0.5684 GB, free: 3.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009216/0.4611, allocations: 5.146 MB / 0.5735 GB, free: 14.33 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-05/0.4612, allocations: 36 kB / 0.5735 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/0.4613, allocations: 76 kB / 0.5736 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008907/0.4622, allocations: 330.2 kB / 0.5739 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/0.4651, allocations: 0.9007 MB / 0.5748 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004208/0.4693, allocations: 3.289 MB / 0.578 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/0.472, allocations: 191.9 kB / 0.5782 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004706/0.4725, allocations: 244 kB / 0.5784 GB, free: 9.133 MB / 462.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 (493): * Single equations (assignments): 487 * 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.002806/0.4753, allocations: 1.582 MB / 0.5799 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00048/0.4758, allocations: 242.4 kB / 0.5802 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00458/0.4804, allocations: 2.378 MB / 0.5825 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000111/0.4805, allocations: 27.98 kB / 0.5825 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.4806, allocations: 4 kB / 0.5825 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.4806, allocations: 7.969 kB / 0.5825 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2033/0.6838, allocations: 6.251 MB / 0.5886 GB, free: 110.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.6839, allocations: 3.594 kB / 0.5886 GB, free: 110.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.685, allocations: 257.9 kB / 0.5889 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006986/0.6857, allocations: 221.9 kB / 0.5891 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.6859, allocations: 34.45 kB / 0.5891 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/0.689, allocations: 2.861 MB / 0.5919 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.689, allocations: 7.531 kB / 0.5919 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005383/0.6944, allocations: 3.625 MB / 0.5955 GB, free: 107.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006785/0.6951, allocations: 318 kB / 0.5958 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002836/0.6954, allocations: 30.75 kB / 0.5958 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000867/0.6962, allocations: 73.8 kB / 0.5959 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.6965, allocations: 97.75 kB / 0.596 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.6966, allocations: 52.83 kB / 0.596 GB, free: 107.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002778/0.6994, allocations: 1.705 MB / 0.5977 GB, free: 106.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6994, allocations: 0 / 0.5977 GB, free: 106.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003139/0.7025, allocations: 0.7116 MB / 0.5984 GB, free: 106.6 MB / 462.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 (140): * Single equations (assignments): 134 * 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.00558/0.7081, allocations: 4.298 MB / 0.6026 GB, free: 104.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006129/0.7143, allocations: 3.509 MB / 0.606 GB, free: 103.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.7143, allocations: 0 / 0.606 GB, free: 103.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.716, allocations: 1.255 MB / 0.6072 GB, free: 102.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.7181, allocations: 386.9 kB / 0.6076 GB, free: 102.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03175/0.7498, allocations: 29.04 MB / 0.636 GB, free: 81.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002096/0.752, allocations: 2.601 MB / 0.6385 GB, free: 78.78 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002222/0.7542, allocations: 1.228 MB / 0.6397 GB, free: 77.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/0.7555, allocations: 1.343 MB / 0.641 GB, free: 76.2 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7555, allocations: 0 / 0.641 GB, free: 76.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09217/0.8477, allocations: 49.94 MB / 0.6898 GB, free: 26.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.6/18.45, allocations: 15.62 kB / 0.6898 GB, free: 26.5 MB / 462.1 MB (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1)