Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.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.Examples.WheelBasedCraneCrab,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_WheelBasedCraneCrab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.Examples.WheelBasedCraneCrab,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_WheelBasedCraneCrab",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.005824/0.005824, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001402/0.001402, allocations: 197.9 kB / 16.67 MB, free: 5.973 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1566/0.1566, allocations: 9.109 MB / 299.7 MB, free: 1.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 71.83 kB / 414.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2355, allocations: 51.42 MB / 465.6 MB, free: 17.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.007716/0.2433, allocations: 8.188 MB / 473.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004704/0.248, allocations: 2.529 MB / 476.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.2491, allocations: 32.81 kB / 476.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009197/0.25, allocations: 355.1 kB / 476.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003496/0.2536, allocations: 1.4 MB / 478.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.2541, allocations: 106.6 kB / 478.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003031/0.2571, allocations: 2.423 MB / 480.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.2585, allocations: 0.8252 MB / 481.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.2601, allocations: 0.8662 MB / 482.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.262, allocations: 1.256 MB / 483.5 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005541/0.2625, allocations: 219.8 kB / 483.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.2642, allocations: 0.8163 MB / 484.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.2653, allocations: 1.201 MB / 485.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.2668, allocations: 1.53 MB / 487.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005094/0.2719, allocations: 4.971 MB / 492.3 MB, free: 444 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.2719, allocations: 3.938 kB / 492.3 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2719, allocations: 0 / 492.3 MB, free: 440 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001373/0.2721, allocations: 0.9688 kB / 492.3 MB, free: 440 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.01367/0.2857, allocations: 4.809 MB / 497.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.2858, allocations: 12.03 kB / 497.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001415/0.2872, allocations: 0.543 MB / 497.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007212/0.2945, allocations: 1.769 MB / 499.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003218/0.2977, allocations: 1.33 MB / 0.489 GB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.298, allocations: 147.9 kB / 0.4891 GB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009207/0.2989, allocations: 203.9 kB / 0.4893 GB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/0.3148, allocations: 8.345 MB / 0.4975 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.91e-05/0.315, allocations: 23.81 kB / 0.4975 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005243/0.3155, allocations: 95.86 kB / 0.4976 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003468/0.319, allocations: 1.934 MB / 0.4995 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01633/0.3353, allocations: 7.554 MB / 0.5069 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03791/0.3733, allocations: 26.34 MB / 0.5326 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007224/0.3805, allocations: 2.609 MB / 0.5351 GB, free: 8.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.3821, allocations: 0.8649 MB / 0.536 GB, free: 7.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007683/0.3898, allocations: 5.772 MB / 0.5416 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.3898, allocations: 47.56 kB / 0.5417 GB, free: 1.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=141): time 3.586e-06/0.3899, allocations: 0 / 0.5417 GB, free: 1.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.01636/0.4062, allocations: 6.996 MB / 0.5485 GB, free: 10.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.4063, allocations: 64.72 kB / 0.5486 GB, free: 9.988 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004051/0.4104, allocations: 2.619 MB / 0.5511 GB, free: 7.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001884/0.4106, allocations: 53.64 kB / 0.5512 GB, free: 7.281 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/0.4123, allocations: 2.223 MB / 0.5533 GB, free: 5.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006634/0.413, allocations: 0.6201 MB / 0.5539 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001291/0.4143, allocations: 0.8381 MB / 0.5548 GB, free: 3.559 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4144, allocations: 305.1 kB / 0.5551 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002424/0.4169, allocations: 1.312 MB / 0.5563 GB, free: 1.938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00451/0.4214, allocations: 3.714 MB / 0.56 GB, free: 13.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007445/0.4289, allocations: 5.452 MB / 0.5653 GB, free: 6.391 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.794e-05/0.429, allocations: 31.94 kB / 0.5653 GB, free: 6.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.01041/0.4394, allocations: 5.099 MB / 0.5703 GB, free: 1.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.112e-05/0.4395, allocations: 40 kB / 0.5703 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.4396, allocations: 87.94 kB / 0.5704 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007178/0.4404, allocations: 273.1 kB / 0.5707 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003164/0.4435, allocations: 0.9358 MB / 0.5716 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004292/0.4479, allocations: 3.2 MB / 0.5747 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/0.451, allocations: 200 kB / 0.5749 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006471/0.4517, allocations: 248 kB / 0.5751 GB, free: 12.14 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 12 (body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (510): * Single equations (assignments): 505 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.002952/0.4546, allocations: 1.605 MB / 0.5767 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004288/0.4551, allocations: 230.5 kB / 0.5769 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.4588, allocations: 1.982 MB / 0.5789 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001125/0.459, allocations: 27.97 kB / 0.5789 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.459, allocations: 4 kB / 0.5789 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.459, allocations: 3.984 kB / 0.5789 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.4701, allocations: 5.925 MB / 0.5847 GB, free: 2.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.4702, allocations: 8 kB / 0.5847 GB, free: 2.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000902/0.4711, allocations: 219.6 kB / 0.5849 GB, free: 1.945 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004895/0.4716, allocations: 165.4 kB / 0.5851 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.4717, allocations: 35.98 kB / 0.5851 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1848/0.6566, allocations: 2.603 MB / 0.5876 GB, free: 110 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-06/0.6566, allocations: 9.625 kB / 0.5876 GB, free: 110 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005172/0.6618, allocations: 3.142 MB / 0.5907 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006887/0.6625, allocations: 306.9 kB / 0.591 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/0.663, allocations: 34.3 kB / 0.591 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009302/0.6639, allocations: 60.61 kB / 0.5911 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/0.6642, allocations: 100.4 kB / 0.5912 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.6643, allocations: 55.5 kB / 0.5912 GB, free: 109.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003249/0.6676, allocations: 1.666 MB / 0.5929 GB, free: 108.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.52e-07/0.6676, allocations: 0 / 0.5929 GB, free: 108.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004107/0.6717, allocations: 0.685 MB / 0.5935 GB, free: 108.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 5 (idealRolling.w,body.r[1],body.phi,revolute.phi,revolute.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 (118): * Single equations (assignments): 113 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005234/0.677, allocations: 3.786 MB / 0.5972 GB, free: 106.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005384/0.6824, allocations: 3.256 MB / 0.6004 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.007e-05/0.6824, allocations: 1.125 kB / 0.6004 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.684, allocations: 1.022 MB / 0.6014 GB, free: 105.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.6862, allocations: 394.2 kB / 0.6018 GB, free: 105 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03791/0.7241, allocations: 28.77 MB / 0.6299 GB, free: 85.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002336/0.7265, allocations: 2.591 MB / 0.6324 GB, free: 83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002352/0.7289, allocations: 1.259 MB / 0.6337 GB, free: 82.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/0.7302, allocations: 1.288 MB / 0.6349 GB, free: 80.79 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.7302, allocations: 6.516 kB / 0.6349 GB, free: 80.79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/0.8502, allocations: 45.25 MB / 0.6791 GB, free: 35.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.14/17.99, allocations: 12.05 kB / 0.6791 GB, free: 35.79 MB / 462.1 MB (rm -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_Examples_WheelBasedCraneCrab_fmu --startTime=0 --stopTime=4.5 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_Examples_WheelBasedCraneCrab.fmu > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1)