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.001503/0.001503, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001238/0.001238, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.344/1.344, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1526/0.1526, allocations: 9.093 MB / 299.2 MB, free: 1.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 361.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09206, allocations: 51.43 MB / 413 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.1822/0.2743, allocations: 23.74 MB / 436.7 MB, free: 30.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009972/0.2843, allocations: 5.497 MB / 442.2 MB, free: 27.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00356/0.2879, allocations: 85.69 kB / 442.3 MB, free: 27.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008759/0.2888, allocations: 308.6 kB / 442.6 MB, free: 27.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.2916, allocations: 1.317 MB / 443.9 MB, free: 27.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.2921, allocations: 144.3 kB / 444 MB, free: 27.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.2942, allocations: 2.569 MB / 446.6 MB, free: 25.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008614/0.2951, allocations: 0.9078 MB / 447.5 MB, free: 25.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000828/0.296, allocations: 0.9101 MB / 448.4 MB, free: 25.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.2971, allocations: 1.431 MB / 449.9 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.2973, allocations: 231 kB / 450.1 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.2985, allocations: 0.8983 MB / 451 MB, free: 24.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007104/0.2992, allocations: 1.23 MB / 452.2 MB, free: 23.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009274/0.3001, allocations: 1.586 MB / 453.8 MB, free: 22.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003487/0.3036, allocations: 4.86 MB / 458.7 MB, free: 20.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3036, allocations: 4 kB / 458.7 MB, free: 20.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3037, allocations: 3.938 kB / 458.7 MB, free: 20.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.794e-05/0.3037, allocations: 0 / 458.7 MB, free: 20.83 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: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.01529/0.319, allocations: 5.05 MB / 463.7 MB, free: 18.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3191, allocations: 9.531 kB / 463.7 MB, free: 18.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005699/0.3197, allocations: 0.549 MB / 464.3 MB, free: 18.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005965/0.3256, allocations: 1.784 MB / 466.1 MB, free: 18.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.3278, allocations: 1.429 MB / 467.5 MB, free: 17.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.3279, allocations: 152.6 kB / 467.6 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003902/0.3283, allocations: 196.3 kB / 467.8 MB, free: 17.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/0.342, allocations: 8.47 MB / 476.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-05/0.3421, allocations: 26.95 kB / 476.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000299/0.3424, allocations: 100.4 kB / 476.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00298/0.3454, allocations: 1.882 MB / 478.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01601/0.3614, allocations: 8.142 MB / 486.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03295/0.3944, allocations: 25.99 MB / 0.5004 GB, free: 356 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009373/0.4038, allocations: 2.85 MB / 0.5032 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.4054, allocations: 1.083 MB / 0.5043 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006027/0.4114, allocations: 5.041 MB / 0.5092 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.4114, allocations: 47.88 kB / 0.5092 GB, free: 6.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 3.426e-06/0.4115, allocations: 3.938 kB / 0.5092 GB, free: 6.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=175): time 0.01773/0.4292, allocations: 8.423 MB / 0.5175 GB, free: 14.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.4293, allocations: 64.72 kB / 0.5175 GB, free: 14.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/0.4332, allocations: 2.634 MB / 0.5201 GB, free: 11.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.4333, allocations: 49.7 kB / 0.5201 GB, free: 11.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.4346, allocations: 2.074 MB / 0.5222 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005391/0.4352, allocations: 0.6407 MB / 0.5228 GB, free: 8.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001158/0.4364, allocations: 0.8059 MB / 0.5236 GB, free: 7.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.4365, allocations: 309.1 kB / 0.5239 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.4387, allocations: 1.374 MB / 0.5252 GB, free: 6.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003418/0.4421, allocations: 3.54 MB / 0.5287 GB, free: 1.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005892/0.448, allocations: 5.326 MB / 0.5339 GB, free: 11.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-05/0.4481, allocations: 24 kB / 0.5339 GB, free: 11.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.008207/0.4563, allocations: 5.137 MB / 0.5389 GB, free: 5.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.4564, allocations: 40 kB / 0.539 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.4565, allocations: 72.09 kB / 0.539 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008314/0.4573, allocations: 334.7 kB / 0.5393 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/0.46, allocations: 0.8968 MB / 0.5402 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003817/0.4639, allocations: 3.293 MB / 0.5434 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/0.4665, allocations: 203.9 kB / 0.5436 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004015/0.4669, allocations: 240 kB / 0.5439 GB, free: 0.7305 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 (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.002338/0.4693, allocations: 1.574 MB / 0.5454 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.4697, allocations: 225.1 kB / 0.5456 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/0.4737, allocations: 2.373 MB / 0.5479 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001107/0.4739, allocations: 31.97 kB / 0.548 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.117e-05/0.4739, allocations: 4 kB / 0.548 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.4739, allocations: 7.984 kB / 0.548 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.485, allocations: 6.293 MB / 0.5541 GB, free: 6.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/0.4851, allocations: 4.344 kB / 0.5541 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.4861, allocations: 259.6 kB / 0.5544 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006551/0.4868, allocations: 213.6 kB / 0.5546 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.4869, allocations: 43.92 kB / 0.5546 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003171/0.4901, allocations: 2.872 MB / 0.5574 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4902, allocations: 3.938 kB / 0.5574 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005545/0.4957, allocations: 3.611 MB / 0.5609 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007734/0.4965, allocations: 302.2 kB / 0.5612 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006039/0.4971, allocations: 39.89 kB / 0.5613 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.4983, allocations: 63.92 kB / 0.5613 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.4986, allocations: 101.1 kB / 0.5614 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.4987, allocations: 51.98 kB / 0.5615 GB, free: 14.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003088/0.5018, allocations: 1.704 MB / 0.5631 GB, free: 12.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5018, allocations: 4 kB / 0.5631 GB, free: 12.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003327/0.5051, allocations: 0.6993 MB / 0.5638 GB, free: 11.86 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 (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.005793/0.511, allocations: 4.289 MB / 0.568 GB, free: 7.504 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009048/0.52, allocations: 5.279 MB / 0.5732 GB, free: 2.211 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.5201, allocations: 0 / 0.5732 GB, free: 2.211 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.522, allocations: 1.252 MB / 0.5744 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/0.5246, allocations: 398.2 kB / 0.5748 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2038/0.7285, allocations: 32.97 MB / 0.607 GB, free: 108 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002071/0.7306, allocations: 2.604 MB / 0.6095 GB, free: 106.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002567/0.7331, allocations: 1.227 MB / 0.6107 GB, free: 106.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/0.7345, allocations: 1.342 MB / 0.612 GB, free: 105.6 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.7345, allocations: 0 / 0.612 GB, free: 105.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07728/0.8118, allocations: 50.65 MB / 0.6615 GB, free: 73.73 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.812, allocations: 238.9 kB / 0.6617 GB, free: 73.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/3.727, allocations: 0 / 0.6617 GB, free: 73.48 MB / 446.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)