Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/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) 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) Running command: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004473/0.004473, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 223.2 MB / 239 MB, free: 84 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008603/0.0008603, allocations: 94.09 kB / 290.2 MB, free: 4.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.0394/0.0394, allocations: 8.948 MB / 350.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002728, allocations: 8 kB / 413.2 MB, free: 5.156 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.187, allocations: 52.39 MB / 465.6 MB, free: 69.27 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09088/0.2779, allocations: 88.99 MB / 0.5416 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.2782, allocations: 83.95 kB / 0.5417 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2967/0.5749, allocations: 59.95 MB / 0.6002 GB, free: 55.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5749, allocations: 0 / 0.6002 GB, free: 55.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.705e-05/0.575, allocations: 48 kB / 0.6003 GB, free: 55.64 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01453/0.5896, allocations: 3.394 MB / 0.6036 GB, free: 52.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5896, allocations: 8.031 kB / 0.6036 GB, free: 52.17 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001978/0.5916, allocations: 0.5574 MB / 0.6041 GB, free: 51.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008064/0.5997, allocations: 1.926 MB / 0.606 GB, free: 49.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004051/0.6037, allocations: 1.725 MB / 0.6077 GB, free: 47.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.604, allocations: 221.5 kB / 0.6079 GB, free: 47.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001277/0.6053, allocations: 275.9 kB / 0.6082 GB, free: 47.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/0.62, allocations: 7.728 MB / 0.6157 GB, free: 39.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/0.6201, allocations: 19.78 kB / 0.6157 GB, free: 39.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008962/0.621, allocations: 131.9 kB / 0.6159 GB, free: 39.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001202/0.6222, allocations: 0.8529 MB / 0.6167 GB, free: 38.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/0.6349, allocations: 7.71 MB / 0.6242 GB, free: 30.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03195/0.6669, allocations: 24.52 MB / 0.6482 GB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008359/0.6753, allocations: 2.578 MB / 0.6507 GB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006383/0.6817, allocations: 4.286 MB / 0.6549 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.6818, allocations: 47.5 kB / 0.6549 GB, free: 14.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=138): time 4.468e-06/0.6818, allocations: 0 / 0.6549 GB, free: 14.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=157): time 0.01514/0.6969, allocations: 7.162 MB / 0.6619 GB, free: 6.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.6971, allocations: 64.72 kB / 0.662 GB, free: 6.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004851/0.7019, allocations: 2.211 MB / 0.6641 GB, free: 4.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-05/0.702, allocations: 49.69 kB / 0.6642 GB, free: 4.418 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001548/0.7036, allocations: 2 MB / 0.6661 GB, free: 2.387 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005364/0.7041, allocations: 0.5742 MB / 0.6667 GB, free: 1.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.7044, allocations: 79.98 kB / 0.6668 GB, free: 1.727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00032/0.7047, allocations: 466.3 kB / 0.6672 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.7069, allocations: 1.237 MB / 0.6684 GB, free: 28 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003361/0.7103, allocations: 3.264 MB / 0.6716 GB, free: 11.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/0.7133, allocations: 2.038 MB / 0.6736 GB, free: 9.734 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.043e-05/0.7133, allocations: 20 kB / 0.6736 GB, free: 9.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=496) (initialization): time 0.007777/0.7211, allocations: 4.729 MB / 0.6782 GB, free: 4.969 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.043e-05/0.7212, allocations: 36 kB / 0.6783 GB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.845e-05/0.7213, allocations: 72 kB / 0.6784 GB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008761/0.7222, allocations: 366.1 kB / 0.6787 GB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/0.7247, allocations: 0.811 MB / 0.6795 GB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005334/0.73, allocations: 4.799 MB / 0.6842 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002449/0.7325, allocations: 172 kB / 0.6843 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004084/0.7329, allocations: 224 kB / 0.6846 GB, free: 14.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 324 * 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 (449): * Single equations (assignments): 443 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,56.0%) 14,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002534/0.7354, allocations: 1.53 MB / 0.6861 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003959/0.7358, allocations: 213.2 kB / 0.6863 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00363/0.7395, allocations: 2.084 MB / 0.6883 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001066/0.7396, allocations: 31.94 kB / 0.6883 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.7396, allocations: 7.984 kB / 0.6883 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.7396, allocations: 7.984 kB / 0.6883 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.7507, allocations: 5.821 MB / 0.694 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.7507, allocations: 8.219 kB / 0.694 GB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000846/0.7516, allocations: 191.8 kB / 0.6942 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006601/0.7522, allocations: 231 kB / 0.6944 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.7524, allocations: 31.97 kB / 0.6945 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004192/0.7566, allocations: 3.982 MB / 0.6984 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/0.7566, allocations: 4 kB / 0.6984 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004796/0.7614, allocations: 3.256 MB / 0.7015 GB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008385/0.7622, allocations: 310.2 kB / 0.7018 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004997/0.7628, allocations: 28.08 kB / 0.7019 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.7638, allocations: 47.95 kB / 0.7019 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.764, allocations: 96.81 kB / 0.702 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.7641, allocations: 44 kB / 0.702 GB, free: 11.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003706/0.7679, allocations: 1.583 MB / 0.7036 GB, free: 10.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7679, allocations: 0 / 0.7036 GB, free: 10.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004555/0.7724, allocations: 0.6718 MB / 0.7042 GB, free: 9.449 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * 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 (115): * Single equations (assignments): 109 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,56.0%) 12,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006227/0.7787, allocations: 4.48 MB / 0.7086 GB, free: 4.871 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005783/0.7845, allocations: 3.251 MB / 0.7118 GB, free: 1.609 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.7845, allocations: 0 / 0.7118 GB, free: 1.609 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.7864, allocations: 1.199 MB / 0.713 GB, free: 400 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.7884, allocations: 337.5 kB / 0.7133 GB, free: 64 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2303/1.019, allocations: 68.96 MB / 0.7806 GB, free: 62.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003797/1.023, allocations: 2.599 MB / 0.7832 GB, free: 62.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002982/1.026, allocations: 1.112 MB / 0.7842 GB, free: 62.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001917/1.027, allocations: 1.237 MB / 0.7855 GB, free: 62.1 MB / 442.7 MB Notification: Performance of SimCode: time 8.065e-06/1.027, allocations: 4 kB / 0.7855 GB, free: 62.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07827/1.106, allocations: 51.97 MB / 0.8362 GB, free: 25.44 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/1.106, allocations: 206.2 kB / 0.8364 GB, free: 25.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/4.028, allocations: 3.938 kB / 0.8364 GB, free: 25.2 MB / 442.7 MB (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1)