Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.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-master/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-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: translateModel(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") translateModel(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 86.56 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.001471/0.001471, 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.673/1.673, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.2089/0.2089, allocations: 9.113 MB / 300.2 MB, free: 2.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004018, allocations: 8 kB / 363.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1295, allocations: 52.43 MB / 415.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.2364/0.3659, allocations: 32.84 MB / 448.4 MB, free: 24.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.3825, allocations: 7.448 MB / 455.8 MB, free: 19.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007027/0.3895, allocations: 136 kB / 456 MB, free: 19.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00653/0.3961, allocations: 1.602 MB / 457.6 MB, free: 18.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01777/0.4139, allocations: 5.662 MB / 463.2 MB, free: 16.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.4159, allocations: 169 kB / 463.4 MB, free: 16.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004888/0.4209, allocations: 3.32 MB / 466.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.4226, allocations: 0.9298 MB / 467.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.4247, allocations: 0.9593 MB / 468.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002366/0.4271, allocations: 1.573 MB / 470.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004694/0.4276, allocations: 151 kB / 470.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.429, allocations: 0.6812 MB / 471 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.4302, allocations: 1.353 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000736/0.4309, allocations: 0.7359 MB / 473.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005646/0.4366, allocations: 4.239 MB / 477.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4366, allocations: 0 / 477.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4366, allocations: 1.5 kB / 477.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001848/0.4368, allocations: 0 / 477.3 MB, free: 11.69 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.02433/0.4612, allocations: 6.206 MB / 483.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4612, allocations: 9.344 kB / 483.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007289/0.4685, allocations: 1.88 MB / 485.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/0.4723, allocations: 1.675 MB / 487.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.4724, allocations: 183.7 kB / 487.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007297/0.4732, allocations: 248.3 kB / 487.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0202/0.4934, allocations: 10.4 MB / 497.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.4936, allocations: 35.66 kB / 498 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000464/0.494, allocations: 115.8 kB / 498.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003481/0.4975, allocations: 2.146 MB / 0.4885 GB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02373/0.5213, allocations: 10.33 MB / 0.4986 GB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06032/0.5816, allocations: 33.53 MB / 0.5313 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0173/0.599, allocations: 4.331 MB / 0.5356 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003674/0.6027, allocations: 1.686 MB / 0.5372 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01451/0.6172, allocations: 8.605 MB / 0.5456 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/0.6173, allocations: 60.52 kB / 0.5457 GB, free: 2.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=237): time 6.181e-06/0.6173, allocations: 0 / 0.5457 GB, free: 2.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=277): time 0.03264/0.65, allocations: 12.7 MB / 0.5581 GB, free: 5.605 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004291/0.6543, allocations: 3.366 MB / 0.5614 GB, free: 2.082 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005761/0.6601, allocations: 3.031 MB / 0.5643 GB, free: 15.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000422/0.6606, allocations: 65.7 kB / 0.5644 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001867/0.6625, allocations: 2.404 MB / 0.5667 GB, free: 12.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001425/0.6639, allocations: 0.9981 MB / 0.5677 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005852/0.6645, allocations: 112 kB / 0.5678 GB, free: 11.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005193/0.665, allocations: 0.5415 MB / 0.5683 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003995/0.669, allocations: 1.877 MB / 0.5702 GB, free: 8.977 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007485/0.6765, allocations: 4.645 MB / 0.5747 GB, free: 2.996 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005908/0.6825, allocations: 2.978 MB / 0.5776 GB, free: 16 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.2133/0.8958, allocations: 24.33 kB / 0.5776 GB, free: 122 MB / 446.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01348/0.9093, allocations: 6.989 MB / 0.5845 GB, free: 121.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.883e-05/0.9094, allocations: 44.28 kB / 0.5845 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.9096, allocations: 98.33 kB / 0.5846 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.9107, allocations: 0.5636 MB / 0.5852 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/0.9148, allocations: 1.22 MB / 0.5863 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006946/0.9217, allocations: 6.789 MB / 0.593 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/0.9256, allocations: 279.5 kB / 0.5932 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000761/0.9264, allocations: 320.3 kB / 0.5935 GB, free: 118 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 432 * Number of states: 0 () * Number of discrete variables: 15 (trail.color[3],trail.color[2],trail.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],chassis.color[3],chassis.color[2],chassis.color[1],bodyRear.sphereColor[3],bodyRear.sphereColor[2],bodyRear.sphereColor[1],bodyFront.sphereColor[3],bodyFront.sphereColor[2],bodyFront.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 655 * 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 {(6,55.6%) 26,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003179/0.9296, allocations: 1.852 MB / 0.5954 GB, free: 117.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004745/0.9301, allocations: 287.9 kB / 0.5956 GB, free: 117.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005648/0.9357, allocations: 3.822 MB / 0.5994 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/0.9358, allocations: 45.75 kB / 0.5994 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.9359, allocations: 6.969 kB / 0.5994 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/0.9359, allocations: 14.34 kB / 0.5994 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/0.9534, allocations: 10.94 MB / 0.6101 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.9534, allocations: 5.5 kB / 0.6101 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/0.9549, allocations: 396.1 kB / 0.6105 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.9561, allocations: 0.5518 MB / 0.611 GB, free: 111.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/0.9563, allocations: 57.62 kB / 0.6111 GB, free: 111.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00809/0.9644, allocations: 7.369 MB / 0.6183 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003279/0.9677, allocations: 3.109 MB / 0.6213 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008216/0.9759, allocations: 5.832 MB / 0.627 GB, free: 102.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.9773, allocations: 0.6361 MB / 0.6276 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000488/0.9778, allocations: 51.5 kB / 0.6277 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.979, allocations: 128.2 kB / 0.6278 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003744/0.9794, allocations: 173.9 kB / 0.628 GB, free: 101.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.9795, allocations: 80.5 kB / 0.628 GB, free: 101.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002885/0.9824, allocations: 1.926 MB / 0.6299 GB, free: 101.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9824, allocations: 0 / 0.6299 GB, free: 101.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004075/0.9865, allocations: 0.9866 MB / 0.6309 GB, free: 101 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 8 ($STATESET1.x,bodyRear.r[1],bodyRear.r[2],bodyRear.phi,idealWheelFront.phi_roll,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 (208): * Single equations (assignments): 202 * 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 {(6,55.6%) 26,(3,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003916/0.9869, allocations: 202.5 kB / 0.6311 GB, free: 100.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0071/0.994, allocations: 5.014 MB / 0.636 GB, free: 98.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.9941, allocations: 0 / 0.636 GB, free: 98.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002794/0.9969, allocations: 2.131 MB / 0.6381 GB, free: 96.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.9993, allocations: 448.6 kB / 0.6385 GB, free: 95.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.013, allocations: 10.54 MB / 0.6488 GB, free: 86.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002604/1.016, allocations: 2.997 MB / 0.6517 GB, free: 83.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003654/1.019, allocations: 1.613 MB / 0.6533 GB, free: 82.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006336/1.02, allocations: 246.5 kB / 0.6535 GB, free: 82.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/1.02, allocations: 0 / 0.6535 GB, free: 82.32 MB / 446.1 MB Notification: Performance of Templates: time 0.05274/1.073, allocations: 36 MB / 0.6887 GB, free: 46.55 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe 2>&1)