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: translateModel(PlanarMechanics.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") translateModel(PlanarMechanics.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 100 kB / 15.05 MB, free: 1.105 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.001459/0.001459, allocations: 177.3 kB / 15.94 MB, free: 228 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.381/1.381, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.188/0.188, allocations: 9.093 MB / 300.1 MB, free: 2.789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003018, allocations: 11.98 kB / 363 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1134, allocations: 52.43 MB / 415.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.2525/0.3659, allocations: 22.9 MB / 438.3 MB, free: 31.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.3799, allocations: 5.984 MB / 444.3 MB, free: 27.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005117/0.385, allocations: 94.97 kB / 444.4 MB, free: 27.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003482/0.3886, allocations: 1.119 MB / 445.5 MB, free: 27.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.3994, allocations: 3.463 MB / 449 MB, free: 25.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.4004, allocations: 94.83 kB / 449.1 MB, free: 25.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00211/0.4025, allocations: 1.357 MB / 450.4 MB, free: 24.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007837/0.4033, allocations: 0.7395 MB / 451.2 MB, free: 24.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006305/0.404, allocations: 0.6461 MB / 451.8 MB, free: 24.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008858/0.4049, allocations: 0.9238 MB / 452.7 MB, free: 23.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.4051, allocations: 123.2 kB / 452.9 MB, free: 23.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.4061, allocations: 0.6478 MB / 453.5 MB, free: 23.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006991/0.4068, allocations: 1.026 MB / 454.5 MB, free: 23.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.4073, allocations: 0.6255 MB / 455.2 MB, free: 22.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002884/0.4101, allocations: 3.63 MB / 458.8 MB, free: 22.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4102, allocations: 0 / 458.8 MB, free: 22.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4102, allocations: 0 / 458.8 MB, free: 22.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.848e-05/0.4103, allocations: 0 / 458.8 MB, free: 22.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: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.009914/0.4202, allocations: 4.235 MB / 463 MB, free: 20.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.4202, allocations: 8.906 kB / 463 MB, free: 20.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007599/0.4278, allocations: 2.155 MB / 465.2 MB, free: 20.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004785/0.4327, allocations: 1.307 MB / 466.5 MB, free: 19.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.4328, allocations: 142.9 kB / 466.6 MB, free: 19.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007601/0.4336, allocations: 188 kB / 466.8 MB, free: 19.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01699/0.4506, allocations: 8.383 MB / 475.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.946e-05/0.4507, allocations: 27.47 kB / 475.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/0.4511, allocations: 93.98 kB / 475.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004998/0.4561, allocations: 1.941 MB / 477.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01913/0.4753, allocations: 7.569 MB / 484.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0449/0.5202, allocations: 26.37 MB / 0.4992 GB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007251/0.5275, allocations: 2.605 MB / 0.5018 GB, free: 400 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002612/0.5302, allocations: 2.398 MB / 0.5041 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/0.5303, allocations: 47.88 kB / 0.5041 GB, free: 13.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=168): time 5.611e-06/0.5303, allocations: 0 / 0.5041 GB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=183): time 0.02368/0.554, allocations: 8.365 MB / 0.5123 GB, free: 5.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.5541, allocations: 64.72 kB / 0.5124 GB, free: 4.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005172/0.5592, allocations: 2.489 MB / 0.5148 GB, free: 2.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.5595, allocations: 53.7 kB / 0.5149 GB, free: 2.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001791/0.5613, allocations: 2.062 MB / 0.5169 GB, free: 284 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008988/0.5622, allocations: 0.6708 MB / 0.5175 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/0.5625, allocations: 80 kB / 0.5176 GB, free: 15.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004701/0.563, allocations: 499.2 kB / 0.5181 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/0.5656, allocations: 1.324 MB / 0.5194 GB, free: 13.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004599/0.5702, allocations: 3.707 MB / 0.523 GB, free: 8.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/0.5739, allocations: 2.235 MB / 0.5252 GB, free: 6.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.974e-05/0.574, allocations: 24 kB / 0.5252 GB, free: 6.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.008986/0.583, allocations: 5.133 MB / 0.5302 GB, free: 1.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.002e-05/0.5831, allocations: 44.19 kB / 0.5302 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/0.5832, allocations: 88.12 kB / 0.5303 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006643/0.5839, allocations: 285.5 kB / 0.5306 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002848/0.5867, allocations: 0.9396 MB / 0.5315 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/0.5905, allocations: 2.984 MB / 0.5344 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/0.5932, allocations: 199.9 kB / 0.5346 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004969/0.5937, allocations: 252 kB / 0.5349 GB, free: 12.46 MB / 414.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 (516): * Single equations (assignments): 511 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.002909/0.5966, allocations: 1.617 MB / 0.5364 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004797/0.5971, allocations: 229 kB / 0.5367 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.6012, allocations: 2.393 MB / 0.539 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/0.6013, allocations: 27.98 kB / 0.539 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.6013, allocations: 4 kB / 0.539 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.6013, allocations: 7.969 kB / 0.539 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.6136, allocations: 6.8 MB / 0.5457 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/0.6136, allocations: 12 kB / 0.5457 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000983/0.6146, allocations: 255.6 kB / 0.5459 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004909/0.6151, allocations: 173.2 kB / 0.5461 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.6153, allocations: 43.98 kB / 0.5461 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.6183, allocations: 2.477 MB / 0.5486 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.43e-05/0.6183, allocations: 19.92 kB / 0.5486 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005861/0.6242, allocations: 4.273 MB / 0.5528 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/0.625, allocations: 318.2 kB / 0.5531 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004541/0.6255, allocations: 43.97 kB / 0.5531 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.6266, allocations: 63.94 kB / 0.5532 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.6268, allocations: 124.6 kB / 0.5533 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.6269, allocations: 60 kB / 0.5533 GB, free: 8.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003104/0.63, allocations: 1.605 MB / 0.5549 GB, free: 7.082 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.63, allocations: 0 / 0.5549 GB, free: 7.082 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004041/0.6341, allocations: 0.6914 MB / 0.5556 GB, free: 6.391 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (142): * Single equations (assignments): 137 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004767/0.6346, allocations: 172.7 kB / 0.5557 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005953/0.6405, allocations: 3.353 MB / 0.559 GB, free: 2.867 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.6406, allocations: 3.938 kB / 0.559 GB, free: 2.863 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001866/0.6425, allocations: 1.127 MB / 0.5601 GB, free: 1.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.6445, allocations: 357.7 kB / 0.5605 GB, free: 1.391 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/0.6587, allocations: 8.182 MB / 0.5685 GB, free: 9.047 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003235/0.662, allocations: 2.666 MB / 0.5711 GB, free: 6.348 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003453/0.6654, allocations: 1.318 MB / 0.5723 GB, free: 5.023 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/0.666, allocations: 179.4 kB / 0.5725 GB, free: 4.848 MB / 446.1 MB Notification: Performance of SimCode: time 1.553e-06/0.666, allocations: 0 / 0.5725 GB, free: 4.848 MB / 446.1 MB Notification: Performance of Templates: time 0.2574/0.9234, allocations: 23.53 MB / 0.5955 GB, free: 118.5 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.makefile (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 & ./PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1)