Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Rotational.AllComponents") translateModel(ModelicaTest.Rotational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009574/0.0009572, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.00724/0.00724, allocations: 170 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3707/0.3707, allocations: 38.03 MB / 308.8 MB, free: 10.34 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.1. 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.0005189/0.0005189, allocations: 16.7 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1311, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.0088/0.14, allocations: 8.384 MB / 442.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007033/0.1471, allocations: 2.942 MB / 445.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.1487, allocations: 35.88 kB / 445.9 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006721/0.1494, allocations: 246 kB / 446.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.1516, allocations: 0.6322 MB / 446.8 MB, free: 8.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.1535, allocations: 0.8037 MB / 447.6 MB, free: 8.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003628/0.1572, allocations: 2.955 MB / 450.5 MB, free: 5.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.1583, allocations: 0.6627 MB / 451.2 MB, free: 4.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.1606, allocations: 1.086 MB / 452.3 MB, free: 3.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.1621, allocations: 1.288 MB / 453.6 MB, free: 2.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002498/0.1623, allocations: 128 kB / 453.7 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006078/0.163, allocations: 235.9 kB / 453.9 MB, free: 1.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005057/0.1635, allocations: 0.4902 MB / 454.4 MB, free: 1.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.1647, allocations: 1.133 MB / 455.6 MB, free: 88 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2295/0.3942, allocations: 2.846 MB / 458.4 MB, free: 37.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3943, allocations: 0 / 458.4 MB, free: 37.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3943, allocations: 0 / 458.4 MB, free: 37.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.377e-05/0.3943, allocations: 0 / 458.4 MB, free: 37.02 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.005079/0.3994, allocations: 2.42 MB / 460.8 MB, free: 35.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3995, allocations: 10.12 kB / 460.8 MB, free: 35.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007646/0.4002, allocations: 277.6 kB / 461.1 MB, free: 35.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.4018, allocations: 1.056 MB / 462.2 MB, free: 35.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007223/0.4025, allocations: 454.8 kB / 462.6 MB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/0.4029, allocations: 231.2 kB / 462.8 MB, free: 35.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00414/0.407, allocations: 2.459 MB / 465.3 MB, free: 34.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.4071, allocations: 32.2 kB / 465.3 MB, free: 34.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.4074, allocations: 83.5 kB / 465.4 MB, free: 34.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.938e-05/0.4075, allocations: 51.25 kB / 465.5 MB, free: 34.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004907/0.4124, allocations: 2.533 MB / 468 MB, free: 34.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/0.4229, allocations: 6.55 MB / 474.5 MB, free: 33.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/0.4267, allocations: 2.399 MB / 476.9 MB, free: 32.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00225/0.4289, allocations: 1.351 MB / 478.3 MB, free: 32.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/0.4292, allocations: 126.8 kB / 478.4 MB, free: 32.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.4292, allocations: 61.97 kB / 478.5 MB, free: 32.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=260): time 5.32e-06/0.4292, allocations: 3.375 kB / 478.5 MB, free: 32.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=316): time 0.02555/0.4548, allocations: 13.25 MB / 491.7 MB, free: 25.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.455, allocations: 298.8 kB / 492 MB, free: 24.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.457, allocations: 1.09 MB / 493.1 MB, free: 24.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003713/0.4574, allocations: 94.25 kB / 493.2 MB, free: 24.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005893/0.458, allocations: 0.6596 MB / 493.9 MB, free: 23.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.4592, allocations: 1.054 MB / 494.9 MB, free: 23.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007173/0.4599, allocations: 240.2 kB / 495.1 MB, free: 23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.46, allocations: 306.2 kB / 495.4 MB, free: 22.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/0.4629, allocations: 1.088 MB / 496.5 MB, free: 22.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003029/0.466, allocations: 1.489 MB / 498 MB, free: 21.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005192/0.4712, allocations: 2.403 MB / 0.4887 GB, free: 20.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-05/0.4712, allocations: 2.531 kB / 0.4887 GB, free: 20.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=384) (initialization): time 0.008631/0.4799, allocations: 3.449 MB / 0.4921 GB, free: 19.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.4799, allocations: 9.156 kB / 0.4921 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.529e-05/0.48, allocations: 8.266 kB / 0.4921 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002866/0.4829, allocations: 1.216 MB / 0.4933 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/0.486, allocations: 0.6651 MB / 0.4939 GB, free: 18.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009359/0.4954, allocations: 7.553 MB / 0.5013 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003123/0.4986, allocations: 287.1 kB / 0.5016 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009152/0.4995, allocations: 110.1 kB / 0.5017 GB, free: 12.9 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 38 (gear2_1.lossyGear.ideal,gear2_1.lossyGear.mode,$PRE.gear2_1.lossyGear.mode,gear2_1.lossyGear.locked,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.startForward,gear2_1.lossyGear.tau_aPos,bearingFriction.free,lossyGear.ideal,lossyGear.mode,$PRE.lossyGear.mode,lossyGear.locked,lossyGear.startBackward,lossyGear.startForward,lossyGear.tau_aPos,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (315): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,22), (2,25), (1,6), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002517/0.5021, allocations: 454.8 kB / 0.5021 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/0.5032, allocations: 204 kB / 0.5023 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.5049, allocations: 0.6068 MB / 0.5029 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.002e-05/0.505, allocations: 32.75 kB / 0.5029 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.551e-05/0.505, allocations: 1.781 kB / 0.5029 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.248e-05/0.5051, allocations: 22.95 kB / 0.503 GB, free: 12.16 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.01765/0.5228, allocations: 7.484 MB / 0.5103 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/0.5228, allocations: 6.344 kB / 0.5103 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/0.5253, allocations: 0.608 MB / 0.5109 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00233/0.5276, allocations: 1.198 MB / 0.512 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003909/0.5281, allocations: 98.75 kB / 0.5121 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/0.5382, allocations: 10.19 MB / 0.5221 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.499e-05/0.5382, allocations: 11.75 kB / 0.5221 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/0.5516, allocations: 5.686 MB / 0.5276 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/0.5532, allocations: 0.51 MB / 0.5281 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006713/0.5539, allocations: 88 kB / 0.5282 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/0.5565, allocations: 264.1 kB / 0.5285 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/0.5575, allocations: 388.9 kB / 0.5288 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003204/0.5579, allocations: 115.9 kB / 0.529 GB, free: 5.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001336/0.5592, allocations: 0.7467 MB / 0.5297 GB, free: 5.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5592, allocations: 0 / 0.5297 GB, free: 5.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00345/0.5627, allocations: 0.6875 MB / 0.5304 GB, free: 4.359 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 27 (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 (250): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,21), (1,5), (1,6), (2,23), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006288/0.5633, allocations: 256.8 kB / 0.5306 GB, free: 4.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007313/0.5706, allocations: 3.328 MB / 0.5338 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.5707, allocations: 0 / 0.5338 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005819/0.5765, allocations: 2.74 MB / 0.5365 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004197/0.5807, allocations: 332.6 kB / 0.5368 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.5933, allocations: 7.19 MB / 0.5439 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.5948, allocations: 1.502 MB / 0.5453 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001666/0.5965, allocations: 296.2 kB / 0.5456 GB, free: 4.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007084/0.5973, allocations: 167.3 kB / 0.5458 GB, free: 4.504 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5973, allocations: 8 kB / 0.5458 GB, free: 4.496 MB / 414.1 MB Notification: Performance of Templates: time 0.06199/0.6593, allocations: 36.64 MB / 0.5816 GB, free: 15.97 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.pipe 2>&1) Environment - environmentSimulation: