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.5.1-master/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1-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: "" <> 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.0008222/0.0008224, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008382/0.0008383, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1-master/package.mo): time 0.1673/0.1673, allocations: 9.112 MB / 300.2 MB, free: 2.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002955/0.0002955, allocations: 8 kB / 363.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09355/0.09387, allocations: 52.43 MB / 415.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.2042/0.2981, allocations: 21.43 MB / 437.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.3092, allocations: 5.26 MB / 442.3 MB, free: 29.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003937/0.3132, allocations: 87.34 kB / 442.4 MB, free: 29.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.3156, allocations: 1.012 MB / 443.4 MB, free: 28.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008704/0.3243, allocations: 3.654 MB / 447.1 MB, free: 27.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.3254, allocations: 155.2 kB / 447.2 MB, free: 27.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003134/0.3286, allocations: 2.783 MB / 450 MB, free: 26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.33, allocations: 0.8035 MB / 450.8 MB, free: 25.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.3313, allocations: 0.7946 MB / 451.6 MB, free: 25.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.333, allocations: 1.306 MB / 452.9 MB, free: 25.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005499/0.3336, allocations: 128.5 kB / 453 MB, free: 25.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.3351, allocations: 0.7183 MB / 453.8 MB, free: 24.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001555/0.3367, allocations: 1.103 MB / 454.9 MB, free: 24.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.3379, allocations: 0.6344 MB / 455.5 MB, free: 24.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003319/0.3412, allocations: 3.738 MB / 459.2 MB, free: 23.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3412, allocations: 0 / 459.2 MB, free: 23.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3412, allocations: 0 / 459.2 MB, free: 23.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001349/0.3413, allocations: 0 / 459.2 MB, free: 23.16 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.0131/0.3545, allocations: 4.431 MB / 463.7 MB, free: 21.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3545, allocations: 9.719 kB / 463.7 MB, free: 21.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000991/0.3555, allocations: 0.5433 MB / 464.2 MB, free: 21.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006419/0.3619, allocations: 1.821 MB / 466 MB, free: 20.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.3647, allocations: 1.413 MB / 467.5 MB, free: 20.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.3648, allocations: 152.8 kB / 467.6 MB, free: 19.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006922/0.3655, allocations: 190.8 kB / 467.8 MB, free: 19.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01539/0.3809, allocations: 8.464 MB / 476.3 MB, free: 16.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/0.3811, allocations: 29.55 kB / 476.3 MB, free: 16.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005725/0.3817, allocations: 94.64 kB / 476.4 MB, free: 16.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003057/0.3847, allocations: 1.886 MB / 478.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01639/0.4011, allocations: 8.122 MB / 486.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03894/0.4401, allocations: 25.97 MB / 0.5003 GB, free: 2.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009614/0.4498, allocations: 2.863 MB / 0.5031 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00208/0.4519, allocations: 1.083 MB / 0.5042 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007627/0.4596, allocations: 5.045 MB / 0.5091 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.4596, allocations: 43.88 kB / 0.5092 GB, free: 8.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 4.148e-06/0.4597, allocations: 4 kB / 0.5092 GB, free: 8.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=175): time 0.01804/0.4777, allocations: 8.414 MB / 0.5174 GB, free: 124 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.4778, allocations: 64.72 kB / 0.5175 GB, free: 48 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004029/0.4818, allocations: 2.626 MB / 0.52 GB, free: 13.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.4819, allocations: 49.7 kB / 0.5201 GB, free: 13.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.4833, allocations: 2.066 MB / 0.5221 GB, free: 11.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005614/0.4839, allocations: 0.6437 MB / 0.5227 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.4841, allocations: 76 kB / 0.5228 GB, free: 10.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002866/0.4844, allocations: 487 kB / 0.5232 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/0.4868, allocations: 1.363 MB / 0.5246 GB, free: 8.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003762/0.4905, allocations: 3.532 MB / 0.528 GB, free: 4.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003329/0.4939, allocations: 2.2 MB / 0.5302 GB, free: 1.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.914e-05/0.494, allocations: 20 kB / 0.5302 GB, free: 1.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009014/0.503, allocations: 5.106 MB / 0.5352 GB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-05/0.5031, allocations: 40.25 kB / 0.5352 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/0.5032, allocations: 76 kB / 0.5353 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008368/0.504, allocations: 330.4 kB / 0.5356 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/0.5068, allocations: 0.9046 MB / 0.5365 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003735/0.5106, allocations: 3.033 MB / 0.5395 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/0.5131, allocations: 191.9 kB / 0.5396 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004467/0.5136, allocations: 248 kB / 0.5399 GB, free: 7.781 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002689/0.5163, allocations: 1.566 MB / 0.5414 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004319/0.5167, allocations: 233 kB / 0.5416 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/0.5209, allocations: 2.37 MB / 0.5439 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.522e-05/0.521, allocations: 31.94 kB / 0.544 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.521, allocations: 0 / 0.544 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.5211, allocations: 11.97 kB / 0.544 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.5329, allocations: 6.277 MB / 0.5501 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.533, allocations: 4 kB / 0.5501 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.534, allocations: 251.7 kB / 0.5504 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006236/0.5346, allocations: 222.9 kB / 0.5506 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.5348, allocations: 35.98 kB / 0.5506 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.5379, allocations: 2.599 MB / 0.5531 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.5379, allocations: 4 kB / 0.5531 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005488/0.5434, allocations: 3.599 MB / 0.5567 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008363/0.5443, allocations: 322.1 kB / 0.557 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005531/0.5448, allocations: 36.27 kB / 0.557 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.5459, allocations: 63.92 kB / 0.5571 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.5461, allocations: 97.12 kB / 0.5572 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.5463, allocations: 59.92 kB / 0.5572 GB, free: 5.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003352/0.5496, allocations: 1.696 MB / 0.5589 GB, free: 3.922 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5496, allocations: 0 / 0.5589 GB, free: 3.922 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003472/0.5531, allocations: 0.711 MB / 0.5596 GB, free: 3.211 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 (140): * Single equations (assignments): 134 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006086/0.5592, allocations: 4.263 MB / 0.5637 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00591/0.5652, allocations: 3.467 MB / 0.5671 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.5652, allocations: 0 / 0.5671 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.567, allocations: 1.247 MB / 0.5683 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/0.57, allocations: 373.8 kB / 0.5687 GB, free: 9.758 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2349/0.8049, allocations: 21.9 MB / 0.5901 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/0.8073, allocations: 2.598 MB / 0.5926 GB, free: 101.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002649/0.8099, allocations: 1.242 MB / 0.5938 GB, free: 101.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001728/0.8117, allocations: 1.339 MB / 0.5951 GB, free: 101.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.8117, allocations: 4 kB / 0.5951 GB, free: 101.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0852/0.8969, allocations: 54.65 MB / 0.6485 GB, free: 72.92 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.8972, allocations: 222.2 kB / 0.6487 GB, free: 72.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/3.763, allocations: 0 / 0.6487 GB, free: 72.68 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/linux/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) Environment - environmentSimulation: