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.001039/0.001039, allocations: 104.3 kB / 15.98 MB, free: 6.355 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.001026/0.001026, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.228/1.228, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04172/0.04172, allocations: 9.123 MB / 299.8 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 59.91 kB / 362.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2241, allocations: 51.42 MB / 413.5 MB, free: 25.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.01727/0.2414, allocations: 26.9 MB / 440.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.2546, allocations: 6 MB / 446.4 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005607/0.2602, allocations: 99.81 kB / 446.5 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.2614, allocations: 294.5 kB / 446.8 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.2648, allocations: 1.316 MB / 448.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.2652, allocations: 79.92 kB / 448.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002893/0.2681, allocations: 2.449 MB / 450.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.2693, allocations: 0.8407 MB / 451.5 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.2706, allocations: 0.8676 MB / 452.3 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.2721, allocations: 1.366 MB / 453.7 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.2725, allocations: 220 kB / 453.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.2739, allocations: 0.823 MB / 454.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009863/0.2749, allocations: 1.212 MB / 456 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.2762, allocations: 1.545 MB / 457.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003644/0.2799, allocations: 3.844 MB / 461.3 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2799, allocations: 0 / 461.3 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2799, allocations: 0 / 461.3 MB, free: 9.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.896e-05/0.28, allocations: 0 / 461.3 MB, free: 9.051 MB / 334.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.01155/0.2916, allocations: 4.724 MB / 466.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.2916, allocations: 12.03 kB / 466.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006164/0.2978, allocations: 1.748 MB / 467.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.3004, allocations: 1.329 MB / 469.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.3006, allocations: 143.9 kB / 469.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004962/0.3011, allocations: 188.2 kB / 469.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/0.3136, allocations: 8.353 MB / 477.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-05/0.3138, allocations: 23.72 kB / 477.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000277/0.314, allocations: 95.86 kB / 478 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002762/0.3168, allocations: 1.942 MB / 479.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/0.3311, allocations: 7.542 MB / 487.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03406/0.3652, allocations: 26.35 MB / 0.5018 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006451/0.3717, allocations: 2.616 MB / 0.5043 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1789/0.5506, allocations: 0.865 MB / 0.5052 GB, free: 90.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006981/0.5577, allocations: 5.772 MB / 0.5108 GB, free: 87.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.5577, allocations: 45.7 kB / 0.5108 GB, free: 87.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 4.508e-06/0.5577, allocations: 0 / 0.5108 GB, free: 87.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01408/0.5718, allocations: 6.944 MB / 0.5176 GB, free: 84.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.5719, allocations: 66.03 kB / 0.5177 GB, free: 84.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/0.5749, allocations: 2.616 MB / 0.5202 GB, free: 83.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.575, allocations: 45.61 kB / 0.5203 GB, free: 83.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000835/0.5759, allocations: 2.135 MB / 0.5224 GB, free: 81.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.5762, allocations: 0.5856 MB / 0.5229 GB, free: 81.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008989/0.5771, allocations: 0.8375 MB / 0.5237 GB, free: 80.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.455e-05/0.5772, allocations: 307.3 kB / 0.524 GB, free: 80.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.5788, allocations: 1.309 MB / 0.5253 GB, free: 80.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/0.5811, allocations: 3.709 MB / 0.5289 GB, free: 75.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004135/0.5853, allocations: 5.448 MB / 0.5343 GB, free: 69.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.255e-05/0.5853, allocations: 24 kB / 0.5343 GB, free: 69.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.006585/0.5919, allocations: 5.107 MB / 0.5393 GB, free: 64.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/0.592, allocations: 48 kB / 0.5393 GB, free: 64.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.848e-05/0.5921, allocations: 88 kB / 0.5394 GB, free: 64.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/0.5926, allocations: 270.4 kB / 0.5397 GB, free: 63.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/0.5948, allocations: 0.9319 MB / 0.5406 GB, free: 62.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/0.5977, allocations: 3.193 MB / 0.5437 GB, free: 59.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/0.6005, allocations: 199.9 kB / 0.5439 GB, free: 59.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003299/0.6008, allocations: 248 kB / 0.5441 GB, free: 59.09 MB / 382.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.001907/0.6027, allocations: 1.612 MB / 0.5457 GB, free: 57.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.603, allocations: 221.1 kB / 0.5459 GB, free: 57.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.6057, allocations: 1.972 MB / 0.5478 GB, free: 55.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.464e-05/0.6058, allocations: 27.98 kB / 0.5479 GB, free: 55.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.6058, allocations: 3.984 kB / 0.5479 GB, free: 55.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.6058, allocations: 3.984 kB / 0.5479 GB, free: 55.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007368/0.6132, allocations: 5.977 MB / 0.5537 GB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.6132, allocations: 8 kB / 0.5537 GB, free: 49.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007304/0.614, allocations: 215.6 kB / 0.5539 GB, free: 48.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003892/0.6144, allocations: 169.2 kB / 0.5541 GB, free: 48.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.956e-05/0.6144, allocations: 35.98 kB / 0.5541 GB, free: 48.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.6165, allocations: 2.608 MB / 0.5567 GB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.6165, allocations: 5.688 kB / 0.5567 GB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/0.6199, allocations: 3.132 MB / 0.5597 GB, free: 42.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005368/0.6205, allocations: 298.3 kB / 0.56 GB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.6207, allocations: 24 kB / 0.56 GB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007125/0.6214, allocations: 67.83 kB / 0.5601 GB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.6216, allocations: 96.77 kB / 0.5602 GB, free: 42.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.803e-05/0.6217, allocations: 51.92 kB / 0.5602 GB, free: 42.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001842/0.6235, allocations: 1.668 MB / 0.5619 GB, free: 40.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6235, allocations: 4 kB / 0.5619 GB, free: 40.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002723/0.6263, allocations: 0.6907 MB / 0.5625 GB, free: 39.85 MB / 382.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.0003334/0.6266, allocations: 161.4 kB / 0.5627 GB, free: 39.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005897/0.6325, allocations: 4.447 MB / 0.567 GB, free: 35.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.6326, allocations: 0 / 0.567 GB, free: 35.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.6337, allocations: 1.018 MB / 0.568 GB, free: 34.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.6356, allocations: 392.5 kB / 0.5684 GB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.6458, allocations: 8.552 MB / 0.5768 GB, free: 25.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001917/0.6478, allocations: 2.597 MB / 0.5793 GB, free: 22.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000653/0.6484, allocations: 211.4 kB / 0.5795 GB, free: 22.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.274e-06/0.6484, allocations: 0 / 0.5795 GB, free: 22.39 MB / 382.1 MB Notification: Performance of Templates: time 0.06318/0.7116, allocations: 56.39 MB / 0.6346 GB, free: 14.11 MB / 430.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)