Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.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.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") translateModel(PlanarMechanics.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 112.5 kB / 16.42 MB, free: 6.453 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.001191/0.001191, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.39/1.39, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04678/0.04678, allocations: 9.124 MB / 300.3 MB, free: 5.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.91 kB / 415.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1122, allocations: 51.44 MB / 466.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.01603/0.1283, allocations: 8.2 MB / 475 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006255/0.1346, allocations: 2.663 MB / 477.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.136, allocations: 31.94 kB / 477.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.1373, allocations: 353.7 kB / 478 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003565/0.1409, allocations: 1.241 MB / 479.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.1417, allocations: 271.6 kB / 479.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003364/0.145, allocations: 2.424 MB / 481.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.1467, allocations: 1.15 MB / 483.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.1481, allocations: 0.8912 MB / 484 MB, free: 360 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.1501, allocations: 1.316 MB / 485.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006196/0.1508, allocations: 248 kB / 485.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.1524, allocations: 0.7722 MB / 486.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.1538, allocations: 1.196 MB / 487.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.1559, allocations: 1.542 MB / 489 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005358/0.1613, allocations: 4.949 MB / 494 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1613, allocations: 0 / 494 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1613, allocations: 3.938 kB / 494 MB, free: 6.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.954e-05/0.1614, allocations: 4 kB / 494 MB, free: 6.289 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.007523/0.1689, allocations: 3.7 MB / 497.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.169, allocations: 8.031 kB / 497.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006314/0.1753, allocations: 1.769 MB / 499.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.1778, allocations: 1.322 MB / 0.4891 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.178, allocations: 152.1 kB / 0.4892 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005806/0.1785, allocations: 208.2 kB / 0.4894 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.1912, allocations: 7.554 MB / 0.4968 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.1913, allocations: 15.88 kB / 0.4968 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006577/0.192, allocations: 95.88 kB / 0.4969 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003028/0.195, allocations: 1.711 MB / 0.4986 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2336/0.4287, allocations: 6.832 MB / 0.5052 GB, free: 39.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03102/0.4598, allocations: 22.94 MB / 0.5276 GB, free: 25.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.4628, allocations: 2.022 MB / 0.5296 GB, free: 23.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009784/0.4638, allocations: 0.7655 MB / 0.5304 GB, free: 23.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003648/0.4674, allocations: 2.86 MB / 0.5331 GB, free: 21.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.4675, allocations: 44.09 kB / 0.5332 GB, free: 21.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=118): time 2.855e-06/0.4675, allocations: 0 / 0.5332 GB, free: 21.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.006562/0.4741, allocations: 4.075 MB / 0.5372 GB, free: 19.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.4741, allocations: 63.78 kB / 0.5372 GB, free: 19.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.4766, allocations: 2.409 MB / 0.5396 GB, free: 17.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.111e-05/0.4767, allocations: 41.27 kB / 0.5396 GB, free: 17.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007774/0.4775, allocations: 2.075 MB / 0.5416 GB, free: 16.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.4777, allocations: 0.5175 MB / 0.5422 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007284/0.4785, allocations: 0.7373 MB / 0.5429 GB, free: 15.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.707e-05/0.4785, allocations: 305.1 kB / 0.5432 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.48, allocations: 1.215 MB / 0.5444 GB, free: 14.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.4823, allocations: 3.27 MB / 0.5475 GB, free: 10.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005536/0.4878, allocations: 5.393 MB / 0.5528 GB, free: 3.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-05/0.4879, allocations: 25.97 kB / 0.5528 GB, free: 3.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=473) (initialization): time 0.006037/0.4939, allocations: 4.563 MB / 0.5573 GB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/0.494, allocations: 38.97 kB / 0.5573 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.493e-05/0.4941, allocations: 72 kB / 0.5574 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/0.4947, allocations: 238.8 kB / 0.5576 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/0.4971, allocations: 0.8115 MB / 0.5584 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003007/0.5002, allocations: 2.884 MB / 0.5612 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.5025, allocations: 199.3 kB / 0.5614 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/0.5028, allocations: 220.1 kB / 0.5616 GB, free: 10.47 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: revolute.w:VARIABLE(start = -5.0 unit = "rad/s" fixed = true stateSelect=StateSelect.always ) "Angular velocity" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 328 * Number of states: 0 () * Number of discrete variables: 9 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (436): * Single equations (assignments): 431 * 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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002275/0.5051, allocations: 1.514 MB / 0.5631 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003603/0.5054, allocations: 206.6 kB / 0.5633 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/0.5087, allocations: 1.817 MB / 0.5651 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.5087, allocations: 3.984 kB / 0.5651 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5087, allocations: 0 / 0.5651 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009936/0.5097, allocations: 423.6 kB / 0.5655 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.51, allocations: 20 kB / 0.5655 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000732/0.5107, allocations: 71.84 kB / 0.5656 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.5109, allocations: 64.91 kB / 0.5656 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003076/0.5139, allocations: 1.744 MB / 0.5673 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003607/0.5176, allocations: 2.758 MB / 0.57 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009243/0.5185, allocations: 0.7129 MB / 0.5707 GB, free: 1.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00281/0.5213, allocations: 1.552 MB / 0.5722 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Backend: time 7.51e-07/0.5213, allocations: 0 / 0.5722 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005253/0.5266, allocations: 2.465 MB / 0.5747 GB, free: 13.07 MB / 414.1 MB Notification: Performance of SimCode: time 0.01326/0.5399, allocations: 6.371 MB / 0.5809 GB, free: 6.676 MB / 414.1 MB Notification: Performance of Templates: time 0.1028/0.6427, allocations: 31.84 MB / 0.612 GB, free: 6.969 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe 2>&1)