Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Rotational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents") translateModel(ModelicaTest.Rotational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001354/0.001354, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.4 MB / 222.1 MB, free: 5.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3893/0.3893, allocations: 40 MB / 310.4 MB, free: 9.711 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006025/0.0006026, allocations: 15.98 kB / 378.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1429, allocations: 57.95 MB / 436.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.01023/0.1533, allocations: 8.424 MB / 445.2 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007984/0.1613, allocations: 3.051 MB / 448.3 MB, free: 6.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/0.1638, allocations: 39.88 kB / 448.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.1652, allocations: 257.9 kB / 448.6 MB, free: 6.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003112/0.1684, allocations: 0.6669 MB / 449.2 MB, free: 5.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.1706, allocations: 0.7216 MB / 449.9 MB, free: 5.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00459/0.1752, allocations: 3.001 MB / 452.9 MB, free: 2.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.1764, allocations: 0.6419 MB / 453.6 MB, free: 1.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.1786, allocations: 1.133 MB / 454.7 MB, free: 260 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2484/0.427, allocations: 1.333 MB / 456 MB, free: 35.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009455/0.428, allocations: 135.8 kB / 456.2 MB, free: 35.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.4292, allocations: 242.5 kB / 456.4 MB, free: 35.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004677/0.4297, allocations: 0.5115 MB / 456.9 MB, free: 35.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007494/0.4304, allocations: 443 kB / 457.4 MB, free: 35.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.4325, allocations: 2.362 MB / 459.7 MB, free: 35.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4325, allocations: 0 / 459.7 MB, free: 35.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4326, allocations: 0 / 459.7 MB, free: 35.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.917e-05/0.4326, allocations: 0 / 459.7 MB, free: 35.43 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.006037/0.4387, allocations: 2.628 MB / 462.4 MB, free: 34.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.4387, allocations: 9.344 kB / 462.4 MB, free: 34.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009484/0.4397, allocations: 297 kB / 462.6 MB, free: 34.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.4414, allocations: 1.068 MB / 463.7 MB, free: 33.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008275/0.4423, allocations: 0.5101 MB / 464.2 MB, free: 33.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004096/0.4427, allocations: 236.8 kB / 464.5 MB, free: 33.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0051/0.4478, allocations: 2.637 MB / 467.1 MB, free: 33.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.4479, allocations: 33.75 kB / 467.1 MB, free: 33.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/0.4482, allocations: 88.75 kB / 467.2 MB, free: 33.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.112e-05/0.4482, allocations: 51.34 kB / 467.3 MB, free: 33.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006179/0.4544, allocations: 2.759 MB / 470 MB, free: 33.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/0.4691, allocations: 7.004 MB / 477 MB, free: 31.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005387/0.4746, allocations: 2.561 MB / 479.6 MB, free: 31.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002851/0.4775, allocations: 1.458 MB / 481 MB, free: 31.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/0.4777, allocations: 131.7 kB / 481.2 MB, free: 31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.4778, allocations: 70.72 kB / 481.2 MB, free: 30.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=275): time 4.689e-06/0.4778, allocations: 0 / 481.2 MB, free: 30.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=333): time 0.03295/0.5108, allocations: 14.59 MB / 495.8 MB, free: 23.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.511, allocations: 325.5 kB / 496.1 MB, free: 23.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.5132, allocations: 1.133 MB / 497.3 MB, free: 22.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000743/0.5139, allocations: 101.5 kB / 497.4 MB, free: 22.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006092/0.5145, allocations: 0.6984 MB / 498.1 MB, free: 22.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/0.5158, allocations: 1.114 MB / 499.2 MB, free: 21.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.516, allocations: 67.81 kB / 499.3 MB, free: 21.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.5162, allocations: 427.1 kB / 499.7 MB, free: 20.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002734/0.519, allocations: 1.139 MB / 0.4891 GB, free: 20.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002807/0.5218, allocations: 1.571 MB / 0.4906 GB, free: 19.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.5243, allocations: 1.169 MB / 0.4918 GB, free: 19.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/0.5244, allocations: 7.375 kB / 0.4918 GB, free: 19.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.009168/0.5335, allocations: 3.581 MB / 0.4953 GB, free: 17.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.5336, allocations: 8.656 kB / 0.4953 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/0.5336, allocations: 9.125 kB / 0.4953 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/0.5365, allocations: 1.217 MB / 0.4965 GB, free: 17.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/0.5401, allocations: 0.7518 MB / 0.4972 GB, free: 17.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009765/0.5499, allocations: 7.527 MB / 0.5045 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003232/0.5532, allocations: 295.7 kB / 0.5048 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003656/0.5536, allocations: 116 kB / 0.5049 GB, free: 11.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 38 (gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,$PRE.gear2_1.lossyGear.mode,gear2_1.lossyGear.mode,gear2_1.lossyGear.ideal,bearingFriction.free,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,$PRE.lossyGear.mode,lossyGear.mode,lossyGear.ideal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (338): * Single equations (assignments): 333 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 22,2 25,1 6,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001446/0.555, allocations: 478.6 kB / 0.5054 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/0.5556, allocations: 216.2 kB / 0.5056 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.5567, allocations: 0.6179 MB / 0.5062 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.5568, allocations: 35.06 kB / 0.5062 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.435e-05/0.5568, allocations: 2.656 kB / 0.5062 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.85e-05/0.5569, allocations: 20.11 kB / 0.5063 GB, free: 10.84 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.5718, allocations: 7.973 MB / 0.514 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/0.5719, allocations: 11.95 kB / 0.5141 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002739/0.5746, allocations: 0.7053 MB / 0.5147 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002173/0.5768, allocations: 1.198 MB / 0.5159 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003117/0.5772, allocations: 107.9 kB / 0.516 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.5876, allocations: 10.17 MB / 0.5259 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/0.5876, allocations: 19.31 kB / 0.526 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/0.6008, allocations: 6.105 MB / 0.5319 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002371/0.6032, allocations: 0.5334 MB / 0.5324 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005236/0.6038, allocations: 80 kB / 0.5325 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/0.6061, allocations: 303.8 kB / 0.5328 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001013/0.6071, allocations: 450.2 kB / 0.5332 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002229/0.6073, allocations: 119.9 kB / 0.5334 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001394/0.6087, allocations: 0.7695 MB / 0.5341 GB, free: 15.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6087, allocations: 0 / 0.5341 GB, free: 15.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00357/0.6123, allocations: 0.7305 MB / 0.5348 GB, free: 15.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 31 (inertia17.phi,inertia17.w,elastoBacklash2.phi_rel,elastoBacklash2.w_rel,inertia14.phi,inertia14.w,constantSpeed.phi,gear2_1.phi_rel,gear2_1.w_rel,relativeStates.phi_rel,relativeStates.w_rel,inertia2.phi,inertia2.w,damper.phi_rel,damper.w_rel,springDamper.phi_rel,springDamper.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,clutch.phi_rel,clutch.w_rel,inertia6.phi,inertia6.w,position.phi,position.w,speed.phi,speed.w,inertia13.phi,inertia13.w,accelerate.phi,accelerate.w) * Number of discrete variables: 24 (gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,gear2_1.lossyGear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,lossyGear.mode) * Number of discrete states: 11 (bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,lossyGear.mode,brake.mode,brake.startForward,brake.startBackward,clutch.mode,clutch.startBackward,clutch.startForward,gear2_1.lossyGear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 5 {2 21,1 5,1 6,2 23,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006624/0.613, allocations: 268.8 kB / 0.5351 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008332/0.6213, allocations: 3.516 MB / 0.5385 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/0.6214, allocations: 0 / 0.5385 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007198/0.6286, allocations: 2.913 MB / 0.5414 GB, free: 8.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/0.6324, allocations: 354.2 kB / 0.5417 GB, free: 8.102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.6484, allocations: 7.57 MB / 0.5491 GB, free: 444 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/0.6501, allocations: 1.551 MB / 0.5506 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001963/0.6521, allocations: 315.3 kB / 0.5509 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/0.6527, allocations: 179.3 kB / 0.5511 GB, free: 14.36 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6528, allocations: 0 / 0.5511 GB, free: 14.36 MB / 430.1 MB Notification: Performance of Templates: time 0.06818/0.7209, allocations: 37.23 MB / 0.5874 GB, free: 9.258 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe 2>&1) Environment - environmentSimulation: