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.001277/0.001277, allocations: 105.7 kB / 16.35 MB, free: 5.824 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.001199/0.001199, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04386/0.04386, allocations: 9.112 MB / 300.3 MB, free: 5.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 363.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2299, allocations: 51.43 MB / 414.8 MB, free: 24.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.007113/0.237, allocations: 8.214 MB / 423 MB, free: 16.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00475/0.2418, allocations: 2.663 MB / 425.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009097/0.2427, allocations: 35.88 kB / 425.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007125/0.2436, allocations: 345.6 kB / 426.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.2456, allocations: 1.214 MB / 427.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.2461, allocations: 271.6 kB / 427.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001859/0.248, allocations: 2.417 MB / 429.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.249, allocations: 1.161 MB / 431.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007033/0.2497, allocations: 0.8873 MB / 432 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.2508, allocations: 1.312 MB / 433.3 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.251, allocations: 248 kB / 433.6 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008927/0.2519, allocations: 0.7724 MB / 434.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006106/0.2525, allocations: 1.196 MB / 435.5 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008155/0.2534, allocations: 1.546 MB / 437.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003449/0.2568, allocations: 4.905 MB / 442 MB, free: 13.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2568, allocations: 0 / 442 MB, free: 13.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2569, allocations: 0 / 442 MB, free: 13.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.814e-05/0.2569, allocations: 0 / 442 MB, free: 13.55 MB / 318.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.007125/0.264, allocations: 3.619 MB / 445.6 MB, free: 9.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2641, allocations: 16.03 kB / 445.6 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00598/0.2701, allocations: 1.744 MB / 447.3 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/0.2727, allocations: 1.322 MB / 448.7 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.2729, allocations: 156.2 kB / 448.8 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003686/0.2732, allocations: 204.2 kB / 449 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009545/0.2828, allocations: 7.558 MB / 456.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.086e-05/0.2829, allocations: 19.88 kB / 456.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002651/0.2831, allocations: 91.89 kB / 456.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002537/0.2857, allocations: 1.708 MB / 458.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.2972, allocations: 6.836 MB / 465.2 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02939/0.3266, allocations: 22.89 MB / 488.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00379/0.3305, allocations: 2.022 MB / 490.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.3318, allocations: 0.768 MB / 490.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005824/0.3376, allocations: 2.851 MB / 493.8 MB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.3377, allocations: 43.56 kB / 493.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=118): time 4.388e-06/0.3377, allocations: 0 / 493.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.007944/0.3456, allocations: 4.025 MB / 497.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3457, allocations: 64.41 kB / 497.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/0.349, allocations: 2.401 MB / 0.4886 GB, free: 1.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-05/0.3491, allocations: 41.7 kB / 0.4886 GB, free: 1.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.3504, allocations: 2.003 MB / 0.4906 GB, free: 15.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003908/0.3508, allocations: 0.4935 MB / 0.491 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009128/0.3518, allocations: 0.7263 MB / 0.4918 GB, free: 14.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3519, allocations: 301.1 kB / 0.492 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.3537, allocations: 1.221 MB / 0.4932 GB, free: 13.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003204/0.3569, allocations: 3.261 MB / 0.4964 GB, free: 8.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007254/0.3642, allocations: 5.392 MB / 0.5017 GB, free: 2.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.979e-05/0.3642, allocations: 20 kB / 0.5017 GB, free: 2.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=473) (initialization): time 0.2204/0.5847, allocations: 4.557 MB / 0.5062 GB, free: 84.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.351e-05/0.5847, allocations: 40.22 kB / 0.5062 GB, free: 84.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.252e-05/0.5848, allocations: 74.88 kB / 0.5063 GB, free: 84.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/0.5855, allocations: 236.1 kB / 0.5065 GB, free: 84.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/0.5879, allocations: 0.8086 MB / 0.5073 GB, free: 84.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/0.591, allocations: 2.887 MB / 0.5101 GB, free: 82.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/0.5937, allocations: 189.6 kB / 0.5103 GB, free: 82.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003527/0.5941, allocations: 220.3 kB / 0.5105 GB, free: 82.89 MB / 382.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.002566/0.5966, allocations: 1.494 MB / 0.512 GB, free: 82.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/0.597, allocations: 203.1 kB / 0.5121 GB, free: 82.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.5996, allocations: 1.828 MB / 0.5139 GB, free: 81.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-05/0.5997, allocations: 28.69 kB / 0.514 GB, free: 81.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5997, allocations: 3.969 kB / 0.514 GB, free: 81.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.5997, allocations: 3 kB / 0.514 GB, free: 81.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007465/0.6072, allocations: 5.194 MB / 0.519 GB, free: 79.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.6072, allocations: 2.031 kB / 0.519 GB, free: 79.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006395/0.6078, allocations: 175.4 kB / 0.5192 GB, free: 79.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/0.6081, allocations: 126.6 kB / 0.5193 GB, free: 79.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.6082, allocations: 26.55 kB / 0.5194 GB, free: 79.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.61, allocations: 2.41 MB / 0.5217 GB, free: 77.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6101, allocations: 4.031 kB / 0.5217 GB, free: 77.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.6132, allocations: 2.83 MB / 0.5245 GB, free: 76.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007687/0.614, allocations: 410.6 kB / 0.5249 GB, free: 75.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.6142, allocations: 20 kB / 0.5249 GB, free: 75.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006666/0.6149, allocations: 52.94 kB / 0.5249 GB, free: 75.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.615, allocations: 84.19 kB / 0.525 GB, free: 75.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/0.6151, allocations: 35.33 kB / 0.525 GB, free: 75.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001836/0.6169, allocations: 1.553 MB / 0.5266 GB, free: 74.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.12e-07/0.6169, allocations: 0 / 0.5266 GB, free: 74.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002623/0.6195, allocations: 0.6212 MB / 0.5272 GB, free: 73.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (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 (99): * Single equations (assignments): 94 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003121/0.6199, allocations: 151 kB / 0.5273 GB, free: 73.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003588/0.6235, allocations: 2.952 MB / 0.5302 GB, free: 70.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6235, allocations: 0 / 0.5302 GB, free: 70.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009671/0.6245, allocations: 0.9088 MB / 0.5311 GB, free: 69.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.6259, allocations: 396.2 kB / 0.5315 GB, free: 69.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00736/0.6333, allocations: 5.904 MB / 0.5372 GB, free: 63.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001872/0.6352, allocations: 2.464 MB / 0.5396 GB, free: 61.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002022/0.6372, allocations: 1.101 MB / 0.5407 GB, free: 60.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.6376, allocations: 151.4 kB / 0.5409 GB, free: 59.87 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6376, allocations: 0 / 0.5409 GB, free: 59.87 MB / 382.1 MB Notification: Performance of Templates: time 0.03389/0.6715, allocations: 21.94 MB / 0.5623 GB, free: 38.11 MB / 382.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 -s gbode -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe 2>&1)