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.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.TestDryFrictionWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel",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.000879/0.000879, allocations: 87.11 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.0008515/0.0008515, 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.259/1.259, allocations: 223.2 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1-master/package.mo): time 0.1646/0.1646, allocations: 9.119 MB / 300.2 MB, free: 2.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002828, allocations: 8 kB / 363.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09751/0.0978, allocations: 52.43 MB / 415.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.1975/0.2953, allocations: 21.24 MB / 436.9 MB, free: 32.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008245/0.3036, allocations: 5.248 MB / 442.1 MB, free: 29.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/0.3064, allocations: 86.06 kB / 442.2 MB, free: 29.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.3082, allocations: 1.006 MB / 443.2 MB, free: 28.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006349/0.3145, allocations: 3.648 MB / 446.9 MB, free: 27.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.3151, allocations: 148.2 kB / 447 MB, free: 27.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.3172, allocations: 2.774 MB / 449.8 MB, free: 26.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007072/0.3179, allocations: 0.7858 MB / 450.6 MB, free: 25.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006075/0.3185, allocations: 0.7931 MB / 451.4 MB, free: 25.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.3196, allocations: 1.294 MB / 452.7 MB, free: 25.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.3198, allocations: 128.6 kB / 452.8 MB, free: 25.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009422/0.3207, allocations: 0.7095 MB / 453.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006187/0.3214, allocations: 1.106 MB / 454.6 MB, free: 24.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003308/0.3217, allocations: 0.6306 MB / 455.2 MB, free: 24.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.3238, allocations: 3.718 MB / 458.9 MB, free: 23.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3238, allocations: 0 / 458.9 MB, free: 23.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3239, allocations: 0 / 458.9 MB, free: 23.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.329e-05/0.3239, allocations: 0 / 458.9 MB, free: 23.39 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: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.01122/0.3351, allocations: 4.416 MB / 463.4 MB, free: 21.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3352, allocations: 8.188 kB / 463.4 MB, free: 21.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006432/0.3358, allocations: 0.5338 MB / 463.9 MB, free: 21.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005912/0.3417, allocations: 1.824 MB / 465.7 MB, free: 21.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.3436, allocations: 1.418 MB / 467.1 MB, free: 20.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.3437, allocations: 147.8 kB / 467.3 MB, free: 20.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004006/0.3441, allocations: 186.1 kB / 467.5 MB, free: 20.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.3574, allocations: 8.443 MB / 475.9 MB, free: 16.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-05/0.3576, allocations: 32.7 kB / 475.9 MB, free: 16.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002905/0.3579, allocations: 89.66 kB / 476 MB, free: 16.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003541/0.3614, allocations: 1.882 MB / 477.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01568/0.3771, allocations: 8.099 MB / 486 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03523/0.4124, allocations: 25.93 MB / 0.5 GB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00892/0.4213, allocations: 2.86 MB / 0.5027 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.423, allocations: 1.072 MB / 0.5038 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006904/0.4299, allocations: 5.03 MB / 0.5087 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.43, allocations: 47.88 kB / 0.5087 GB, free: 9.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 3.757e-06/0.43, allocations: 0 / 0.5087 GB, free: 9.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01801/0.448, allocations: 8.358 MB / 0.5169 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.4481, allocations: 72.72 kB / 0.517 GB, free: 492 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004409/0.4525, allocations: 2.602 MB / 0.5195 GB, free: 13.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.4526, allocations: 49.7 kB / 0.5196 GB, free: 13.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.4543, allocations: 2.055 MB / 0.5216 GB, free: 11.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006002/0.4549, allocations: 0.6398 MB / 0.5222 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.4551, allocations: 76 kB / 0.5223 GB, free: 10.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000312/0.4554, allocations: 482.9 kB / 0.5227 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/0.4577, allocations: 1.355 MB / 0.5241 GB, free: 9.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003767/0.4615, allocations: 3.517 MB / 0.5275 GB, free: 4.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003312/0.4648, allocations: 2.204 MB / 0.5296 GB, free: 2.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.191e-05/0.4649, allocations: 24 kB / 0.5297 GB, free: 2.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.008408/0.4733, allocations: 5.067 MB / 0.5346 GB, free: 13.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/0.4734, allocations: 40.47 kB / 0.5347 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.361e-05/0.4735, allocations: 79.98 kB / 0.5347 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008011/0.4743, allocations: 330.2 kB / 0.535 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/0.477, allocations: 0.9045 MB / 0.5359 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/0.4808, allocations: 3.025 MB / 0.5389 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/0.4833, allocations: 191.9 kB / 0.5391 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003664/0.4837, allocations: 244 kB / 0.5393 GB, free: 8.312 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 (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.002441/0.4862, allocations: 1.566 MB / 0.5408 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004065/0.4866, allocations: 225.1 kB / 0.541 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/0.4905, allocations: 2.343 MB / 0.5433 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-05/0.4906, allocations: 27.98 kB / 0.5434 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.4906, allocations: 4 kB / 0.5434 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.4907, allocations: 11.92 kB / 0.5434 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.5016, allocations: 6.229 MB / 0.5495 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.5017, allocations: 4 kB / 0.5495 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.5027, allocations: 259.7 kB / 0.5497 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006142/0.5033, allocations: 217.8 kB / 0.5499 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.5035, allocations: 35.98 kB / 0.5499 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003327/0.5068, allocations: 2.595 MB / 0.5525 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.5068, allocations: 7.984 kB / 0.5525 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005345/0.5122, allocations: 3.574 MB / 0.556 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008056/0.513, allocations: 314.2 kB / 0.5563 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004577/0.5135, allocations: 39.94 kB / 0.5563 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009349/0.5144, allocations: 63.92 kB / 0.5564 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.5146, allocations: 93.19 kB / 0.5565 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.5147, allocations: 51.98 kB / 0.5565 GB, free: 6.285 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002615/0.5173, allocations: 1.684 MB / 0.5582 GB, free: 4.586 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5173, allocations: 0 / 0.5582 GB, free: 4.586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003065/0.5204, allocations: 0.7071 MB / 0.5588 GB, free: 3.879 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 (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.005798/0.5262, allocations: 4.242 MB / 0.563 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005867/0.5321, allocations: 3.438 MB / 0.5663 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.5321, allocations: 0 / 0.5663 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001831/0.534, allocations: 1.234 MB / 0.5676 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.5364, allocations: 379.9 kB / 0.5679 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2273/0.7636, allocations: 21.86 MB / 0.5893 GB, free: 102.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002372/0.766, allocations: 2.583 MB / 0.5918 GB, free: 102 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002735/0.7688, allocations: 1.228 MB / 0.593 GB, free: 102 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/0.7705, allocations: 1.328 MB / 0.5943 GB, free: 102 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7705, allocations: 0 / 0.5943 GB, free: 102 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09042/0.8609, allocations: 54.36 MB / 0.6474 GB, free: 73.32 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001258/0.8611, allocations: 220 kB / 0.6476 GB, free: 73.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.887/3.748, allocations: 0 / 0.6476 GB, free: 73.09 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) Environment - environmentSimulation: