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.001095/0.001095, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.145/0.145, allocations: 9.104 MB / 299.5 MB, free: 1.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 67.89 kB / 362.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09838, allocations: 51.43 MB / 413.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.009523/0.1079, allocations: 8.786 MB / 422.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1795/0.2875, allocations: 2.727 MB / 425 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.2885, allocations: 39.03 kB / 425 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008174/0.2894, allocations: 366.2 kB / 425.4 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.2921, allocations: 1.408 MB / 426.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005151/0.2926, allocations: 177.7 kB / 427 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002027/0.2947, allocations: 2.545 MB / 429.5 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.2957, allocations: 0.8735 MB / 430.4 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.2969, allocations: 0.9039 MB / 431.3 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.2984, allocations: 1.329 MB / 432.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003965/0.2988, allocations: 233.1 kB / 432.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.3003, allocations: 0.8945 MB / 433.7 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007454/0.3011, allocations: 1.215 MB / 435 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.3022, allocations: 1.578 MB / 436.5 MB, free: 33.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003989/0.3062, allocations: 4.833 MB / 441.4 MB, free: 31.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3063, allocations: 3 kB / 441.4 MB, free: 31.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3063, allocations: 0 / 441.4 MB, free: 31.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.518e-05/0.3064, allocations: 0 / 441.4 MB, free: 31.36 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.01517/0.3215, allocations: 5.049 MB / 446.4 MB, free: 29.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3216, allocations: 13.5 kB / 446.4 MB, free: 29.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007486/0.3224, allocations: 0.5412 MB / 447 MB, free: 29.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006214/0.3286, allocations: 1.786 MB / 448.8 MB, free: 28.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.3309, allocations: 1.442 MB / 450.2 MB, free: 27.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.331, allocations: 147.9 kB / 450.4 MB, free: 27.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005015/0.3315, allocations: 196.5 kB / 450.5 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/0.3452, allocations: 8.476 MB / 459 MB, free: 24.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.541e-05/0.3454, allocations: 25.31 kB / 459 MB, free: 24.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003298/0.3457, allocations: 90.78 kB / 459.1 MB, free: 24.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003713/0.3494, allocations: 1.877 MB / 461 MB, free: 23.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01722/0.3667, allocations: 8.154 MB / 469.2 MB, free: 21.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03384/0.4005, allocations: 25.98 MB / 495.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00979/0.4104, allocations: 2.849 MB / 498 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.4121, allocations: 1.084 MB / 499.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007351/0.4195, allocations: 5.04 MB / 0.4923 GB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.4195, allocations: 43.88 kB / 0.4923 GB, free: 7.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 4.068e-06/0.4195, allocations: 0 / 0.4923 GB, free: 7.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=175): time 0.02071/0.4403, allocations: 8.437 MB / 0.5006 GB, free: 14.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.4403, allocations: 64.72 kB / 0.5007 GB, free: 14.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/0.4441, allocations: 2.634 MB / 0.5032 GB, free: 11.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.4443, allocations: 53.7 kB / 0.5033 GB, free: 11.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.4457, allocations: 2.069 MB / 0.5053 GB, free: 9.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006015/0.4463, allocations: 0.6438 MB / 0.5059 GB, free: 8.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.4473, allocations: 0.8059 MB / 0.5067 GB, free: 8.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4474, allocations: 305.1 kB / 0.507 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.4496, allocations: 1.378 MB / 0.5083 GB, free: 6.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003428/0.453, allocations: 3.548 MB / 0.5118 GB, free: 1.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006191/0.4592, allocations: 5.325 MB / 0.517 GB, free: 11.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.867e-05/0.4593, allocations: 20 kB / 0.517 GB, free: 11.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009002/0.4683, allocations: 5.128 MB / 0.522 GB, free: 6.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/0.4684, allocations: 38.34 kB / 0.5221 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/0.4685, allocations: 80.06 kB / 0.5222 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008366/0.4694, allocations: 326 kB / 0.5225 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/0.4722, allocations: 0.8968 MB / 0.5233 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003784/0.476, allocations: 3.289 MB / 0.5265 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/0.4787, allocations: 195.9 kB / 0.5267 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004778/0.4792, allocations: 238 kB / 0.527 GB, free: 1.117 MB / 398.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.002545/0.4818, allocations: 1.574 MB / 0.5285 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004599/0.4822, allocations: 229 kB / 0.5287 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/0.4864, allocations: 2.385 MB / 0.531 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/0.4865, allocations: 31.97 kB / 0.5311 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.4865, allocations: 4 kB / 0.5311 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.4866, allocations: 3.984 kB / 0.5311 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.4987, allocations: 6.296 MB / 0.5372 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.4987, allocations: 4 kB / 0.5372 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.4998, allocations: 255.7 kB / 0.5375 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006912/0.5005, allocations: 221.5 kB / 0.5377 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.5007, allocations: 39.92 kB / 0.5377 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.5039, allocations: 2.87 MB / 0.5405 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.504, allocations: 4 kB / 0.5405 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005512/0.5095, allocations: 3.613 MB / 0.5441 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006914/0.5102, allocations: 302.2 kB / 0.5444 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000439/0.5106, allocations: 31.98 kB / 0.5444 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.5117, allocations: 67.92 kB / 0.5444 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.5119, allocations: 108.3 kB / 0.5446 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.512, allocations: 51.98 kB / 0.5446 GB, free: 14.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003173/0.5152, allocations: 1.711 MB / 0.5463 GB, free: 12.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5152, allocations: 0 / 0.5463 GB, free: 12.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003192/0.5184, allocations: 0.7031 MB / 0.547 GB, free: 12.27 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 (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.005946/0.5244, allocations: 4.275 MB / 0.5511 GB, free: 7.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009043/0.5334, allocations: 5.285 MB / 0.5563 GB, free: 2.637 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5335, allocations: 0 / 0.5563 GB, free: 2.637 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.5353, allocations: 1.256 MB / 0.5575 GB, free: 1.344 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.5382, allocations: 390.5 kB / 0.5579 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2411/0.7793, allocations: 31.51 MB / 0.5887 GB, free: 137.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/0.7816, allocations: 2.598 MB / 0.5912 GB, free: 136.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00259/0.7842, allocations: 1.229 MB / 0.5924 GB, free: 136.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/0.7856, allocations: 1.342 MB / 0.5937 GB, free: 136.8 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7856, allocations: 0 / 0.5937 GB, free: 136.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/0.9009, allocations: 50.73 MB / 0.6433 GB, free: 120 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.72, allocations: 0.75 kB / 0.6433 GB, free: 120 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)