Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001065/0.001065, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04318/0.04318, allocations: 9.11 MB / 300.3 MB, free: 5.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.89 kB / 363.4 MB, free: 6.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2473, allocations: 51.42 MB / 414.8 MB, free: 24.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.00719/0.2546, allocations: 8.494 MB / 423.3 MB, free: 16.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004429/0.259, allocations: 2.604 MB / 425.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008544/0.2599, allocations: 31.94 kB / 425.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007042/0.2606, allocations: 357.7 kB / 426.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.263, allocations: 1.276 MB / 427.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.2634, allocations: 119.8 kB / 427.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.2652, allocations: 2.436 MB / 430.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007059/0.2659, allocations: 0.8421 MB / 431 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006692/0.2666, allocations: 0.8598 MB / 431.8 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009475/0.2676, allocations: 1.269 MB / 433.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002371/0.2678, allocations: 224 kB / 433.3 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009468/0.2688, allocations: 0.7412 MB / 434 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006695/0.2695, allocations: 1.173 MB / 435.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008874/0.2704, allocations: 1.518 MB / 436.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003589/0.274, allocations: 4.842 MB / 441.6 MB, free: 13.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.274, allocations: 0 / 441.6 MB, free: 13.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.274, allocations: 0 / 441.6 MB, free: 13.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.781e-05/0.2741, allocations: 0 / 441.6 MB, free: 13.96 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.01461/0.2887, allocations: 4.805 MB / 446.4 MB, free: 9.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2887, allocations: 12.03 kB / 446.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006253/0.295, allocations: 1.759 MB / 448.1 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.2983, allocations: 1.38 MB / 449.5 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.2984, allocations: 143.8 kB / 449.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004127/0.2988, allocations: 191.8 kB / 449.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.3111, allocations: 8.151 MB / 458 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.189e-05/0.3112, allocations: 23.78 kB / 458 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002621/0.3114, allocations: 91.86 kB / 458.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00278/0.3142, allocations: 1.829 MB / 460 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01485/0.3291, allocations: 7.816 MB / 467.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03537/0.3645, allocations: 24.65 MB / 492.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008533/0.373, allocations: 2.659 MB / 495.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.3746, allocations: 0.996 MB / 496.1 MB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006381/0.381, allocations: 4.34 MB / 0.4887 GB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.3811, allocations: 47.56 kB / 0.4887 GB, free: 1.551 MB / 366.1 MB Notification: Performance of pre-optimization done (n=142): time 5.039e-06/0.3811, allocations: 3.984 kB / 0.4887 GB, free: 1.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=167): time 0.01439/0.3955, allocations: 7.506 MB / 0.4961 GB, free: 9.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.3956, allocations: 64.72 kB / 0.4961 GB, free: 9.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003338/0.3989, allocations: 2.503 MB / 0.4986 GB, free: 7.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.3991, allocations: 49.69 kB / 0.4986 GB, free: 7.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.4003, allocations: 1.993 MB / 0.5006 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005049/0.4008, allocations: 0.6128 MB / 0.5012 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009487/0.4018, allocations: 0.7663 MB / 0.5019 GB, free: 3.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.4019, allocations: 305.1 kB / 0.5022 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.4038, allocations: 1.335 MB / 0.5035 GB, free: 2.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.196/0.5998, allocations: 3.391 MB / 0.5068 GB, free: 85.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006476/0.6063, allocations: 5.104 MB / 0.5118 GB, free: 81.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000154/0.6065, allocations: 20.94 kB / 0.5118 GB, free: 81.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.009898/0.6164, allocations: 5.024 MB / 0.5167 GB, free: 79.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.921e-05/0.6165, allocations: 36.25 kB / 0.5168 GB, free: 79.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/0.6166, allocations: 72.31 kB / 0.5168 GB, free: 79.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009115/0.6175, allocations: 418.1 kB / 0.5172 GB, free: 79.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/0.6199, allocations: 0.843 MB / 0.5181 GB, free: 79.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005243/0.6251, allocations: 5.909 MB / 0.5238 GB, free: 75.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.6275, allocations: 187.9 kB / 0.524 GB, free: 75.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/0.6278, allocations: 226.8 kB / 0.5242 GB, free: 75.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 325 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (456): * Single equations (assignments): 450 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,56.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00191/0.6297, allocations: 1.534 MB / 0.5257 GB, free: 74.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.63, allocations: 221.5 kB / 0.5259 GB, free: 74.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003155/0.6332, allocations: 2.36 MB / 0.5282 GB, free: 73.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.992e-05/0.6333, allocations: 37.64 kB / 0.5283 GB, free: 73.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.6333, allocations: 4 kB / 0.5283 GB, free: 73.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.6333, allocations: 7.594 kB / 0.5283 GB, free: 73.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007869/0.6412, allocations: 6.064 MB / 0.5342 GB, free: 68.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.6412, allocations: 4 kB / 0.5342 GB, free: 68.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008135/0.642, allocations: 221.8 kB / 0.5344 GB, free: 68.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005995/0.6427, allocations: 280.7 kB / 0.5347 GB, free: 68.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/0.6427, allocations: 27.36 kB / 0.5347 GB, free: 68.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00356/0.6463, allocations: 4.686 MB / 0.5393 GB, free: 63.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.6463, allocations: 7.938 kB / 0.5393 GB, free: 63.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.6503, allocations: 3.54 MB / 0.5428 GB, free: 59.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/0.6507, allocations: 302.2 kB / 0.543 GB, free: 59.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.651, allocations: 28.12 kB / 0.5431 GB, free: 59.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/0.6517, allocations: 59.94 kB / 0.5431 GB, free: 59.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.6519, allocations: 105 kB / 0.5432 GB, free: 59.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-05/0.652, allocations: 44 kB / 0.5433 GB, free: 59.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001886/0.6539, allocations: 1.625 MB / 0.5449 GB, free: 57.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6539, allocations: 0 / 0.5449 GB, free: 57.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002966/0.6569, allocations: 0.6936 MB / 0.5455 GB, free: 56.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,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 (124): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003361/0.6572, allocations: 165 kB / 0.5457 GB, free: 56.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004651/0.6619, allocations: 3.525 MB / 0.5491 GB, free: 53.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6619, allocations: 0 / 0.5491 GB, free: 53.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.6633, allocations: 1.329 MB / 0.5504 GB, free: 51.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.6649, allocations: 386.2 kB / 0.5508 GB, free: 51.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009075/0.674, allocations: 6.52 MB / 0.5572 GB, free: 44.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/0.6759, allocations: 2.545 MB / 0.5596 GB, free: 42.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002146/0.6781, allocations: 1.168 MB / 0.5608 GB, free: 41.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.6785, allocations: 171.4 kB / 0.561 GB, free: 40.88 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6785, allocations: 4 kB / 0.561 GB, free: 40.87 MB / 382.1 MB Notification: Performance of Templates: time 0.03796/0.7164, allocations: 25.65 MB / 0.586 GB, free: 15.41 MB / 382.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1)