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.001116/0.001116, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001323/0.001323, allocations: 177.3 kB / 15.95 MB, free: 216 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.593/1.593, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3456/0.3456, allocations: 40 MB / 310.4 MB, free: 9.949 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.0005906/0.0005906, allocations: 16 kB / 378.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1352, allocations: 57.96 MB / 436.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.00884/0.1441, allocations: 7.627 MB / 444.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007044/0.1512, allocations: 3.197 MB / 447.6 MB, free: 7.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.1526, allocations: 47.75 kB / 447.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.1532, allocations: 230.2 kB / 447.9 MB, free: 7.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.1551, allocations: 0.8335 MB / 448.7 MB, free: 6.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.157, allocations: 0.7137 MB / 449.4 MB, free: 5.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004097/0.1611, allocations: 2.126 MB / 451.5 MB, free: 3.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.1622, allocations: 0.6341 MB / 452.2 MB, free: 3.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.1642, allocations: 1.141 MB / 453.3 MB, free: 2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.1661, allocations: 1.323 MB / 454.6 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003355/0.1664, allocations: 136 kB / 454.8 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006593/0.1671, allocations: 227.8 kB / 455 MB, free: 324 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2355/0.4026, allocations: 0.5083 MB / 455.5 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.404, allocations: 445.5 kB / 455.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002974/0.407, allocations: 2.356 MB / 458.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4071, allocations: 0 / 458.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4071, allocations: 0 / 458.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.568e-05/0.4072, allocations: 0 / 458.3 MB, free: 35.89 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.007212/0.4144, allocations: 2.623 MB / 460.9 MB, free: 34.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.795e-05/0.4145, allocations: 10 kB / 460.9 MB, free: 34.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.416, allocations: 292.9 kB / 461.2 MB, free: 34.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.4186, allocations: 1.069 MB / 462.3 MB, free: 34.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000923/0.4195, allocations: 0.5098 MB / 462.8 MB, free: 34.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003788/0.4199, allocations: 244.4 kB / 463 MB, free: 34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005216/0.4251, allocations: 2.614 MB / 465.6 MB, free: 33.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-05/0.4252, allocations: 32.89 kB / 465.7 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.4254, allocations: 92.34 kB / 465.8 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/0.4255, allocations: 51.22 kB / 465.8 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005331/0.4308, allocations: 2.755 MB / 468.6 MB, free: 33.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.4432, allocations: 7.008 MB / 475.6 MB, free: 32.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/0.4478, allocations: 2.557 MB / 478.1 MB, free: 31.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/0.4481, allocations: 125.1 kB / 478.2 MB, free: 31.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/0.4481, allocations: 75.42 kB / 478.3 MB, free: 31.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=275): time 4.749e-06/0.4482, allocations: 0 / 478.3 MB, free: 31.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=333): time 0.03121/0.4794, allocations: 14.59 MB / 492.9 MB, free: 24.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.4796, allocations: 328.5 kB / 493.2 MB, free: 24.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002693/0.4823, allocations: 1.142 MB / 494.4 MB, free: 24.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009448/0.4832, allocations: 95.36 kB / 494.5 MB, free: 24.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008209/0.4841, allocations: 0.6978 MB / 495.2 MB, free: 23.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001685/0.4858, allocations: 1.12 MB / 496.3 MB, free: 22.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.486, allocations: 62.25 kB / 496.3 MB, free: 22.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.4862, allocations: 426.6 kB / 496.8 MB, free: 22.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002828/0.489, allocations: 1.142 MB / 497.9 MB, free: 21.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/0.4926, allocations: 1.556 MB / 499.5 MB, free: 21.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/0.4953, allocations: 1.163 MB / 0.4889 GB, free: 20.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.4954, allocations: 6.312 kB / 0.4889 GB, free: 20.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.008669/0.504, allocations: 3.583 MB / 0.4924 GB, free: 19.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.5041, allocations: 9.266 kB / 0.4924 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/0.5041, allocations: 9.594 kB / 0.4924 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/0.5068, allocations: 1.212 MB / 0.4936 GB, free: 18.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/0.5101, allocations: 0.7505 MB / 0.4943 GB, free: 18.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009069/0.5192, allocations: 7.643 MB / 0.5018 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/0.5227, allocations: 292.7 kB / 0.5021 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005499/0.5233, allocations: 115.8 kB / 0.5022 GB, free: 13.02 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.002108/0.5254, allocations: 477.9 kB / 0.5026 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/0.5266, allocations: 212.2 kB / 0.5028 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.5281, allocations: 0.6176 MB / 0.5034 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.732e-05/0.5281, allocations: 33 kB / 0.5035 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-05/0.5282, allocations: 4.125 kB / 0.5035 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.373e-05/0.5282, allocations: 17.55 kB / 0.5035 GB, free: 12.26 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.01716/0.5454, allocations: 7.964 MB / 0.5113 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/0.5455, allocations: 9.531 kB / 0.5113 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003046/0.5485, allocations: 0.7032 MB / 0.512 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002501/0.5511, allocations: 1.203 MB / 0.5131 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003712/0.5515, allocations: 99.92 kB / 0.5132 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/0.5635, allocations: 10.3 MB / 0.5233 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.669e-05/0.5636, allocations: 15.75 kB / 0.5233 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/0.5783, allocations: 6.617 MB / 0.5298 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/0.58, allocations: 0.5294 MB / 0.5303 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004183/0.5804, allocations: 84 kB / 0.5304 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002212/0.5827, allocations: 307.7 kB / 0.5307 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000903/0.5836, allocations: 443.7 kB / 0.5311 GB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/0.5838, allocations: 123.9 kB / 0.5312 GB, free: 3.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001237/0.585, allocations: 0.7729 MB / 0.532 GB, free: 2.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.282e-06/0.5851, allocations: 0 / 0.532 GB, free: 2.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00335/0.5884, allocations: 0.7276 MB / 0.5327 GB, free: 1.723 MB / 398.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.0005618/0.589, allocations: 253.9 kB / 0.5329 GB, free: 1.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00781/0.5968, allocations: 3.52 MB / 0.5364 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.5969, allocations: 256 / 0.5364 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006638/0.6035, allocations: 2.922 MB / 0.5392 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/0.6063, allocations: 298.5 kB / 0.5395 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.6215, allocations: 7.556 MB / 0.5469 GB, free: 3.152 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/0.6234, allocations: 1.594 MB / 0.5484 GB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002106/0.6255, allocations: 313.2 kB / 0.5487 GB, free: 1.211 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005868/0.6261, allocations: 179.3 kB / 0.5489 GB, free: 1.035 MB / 414.1 MB Notification: Performance of SimCode: time 2.084e-06/0.6261, allocations: 0 / 0.5489 GB, free: 1.035 MB / 414.1 MB Notification: Performance of Templates: time 0.07051/0.6966, allocations: 37.12 MB / 0.5851 GB, free: 11.98 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: