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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001436/0.001436, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.272/1.272, allocations: 170.6 MB / 183.8 MB, free: 11.47 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001695/0.001695, allocations: 107.4 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2217/0.2217, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.598e-05/3.608e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.378/0.4793, allocations: 91.88 MB / 497.6 MB, free: 18.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001698/0.4795, allocations: 70.31 kB / 497.6 MB, free: 18.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1158/0.5953, allocations: 44.39 MB / 0.5293 GB, free: 9.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5954, allocations: 0 / 0.5293 GB, free: 9.898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001552/0.5955, allocations: 44 kB / 0.5294 GB, free: 9.855 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 515 * Number of variables: 515 Notification: Performance of Generate backend data structure: time 0.007474/0.603, allocations: 2.2 MB / 0.5315 GB, free: 7.734 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.6031, allocations: 16.03 kB / 0.5315 GB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.6048, allocations: 280.9 kB / 0.5318 GB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/0.6076, allocations: 0.9344 MB / 0.5327 GB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000744/0.6084, allocations: 403.5 kB / 0.5331 GB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000904/0.6093, allocations: 228.6 kB / 0.5333 GB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00598/0.6153, allocations: 2.213 MB / 0.5355 GB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001726/0.6155, allocations: 27.58 kB / 0.5355 GB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003208/0.6158, allocations: 88.48 kB / 0.5356 GB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.603e-05/0.6159, allocations: 48 kB / 0.5356 GB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.6203, allocations: 2.134 MB / 0.5377 GB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.635, allocations: 6.16 MB / 0.5437 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003798/0.6389, allocations: 2.111 MB / 0.5458 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00209/0.641, allocations: 1.132 MB / 0.5469 GB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.6412, allocations: 38.12 kB / 0.5469 GB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.736e-05/0.6413, allocations: 72.66 kB / 0.547 GB, free: 9.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=260): time 5.971e-06/0.6413, allocations: 0 / 0.547 GB, free: 9.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=315): time 0.01972/0.661, allocations: 9.937 MB / 0.5567 GB, free: 14.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001737/0.6612, allocations: 243.7 kB / 0.5569 GB, free: 14.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.6629, allocations: 0.9067 MB / 0.5578 GB, free: 13.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004278/0.6634, allocations: 97.69 kB / 0.5579 GB, free: 13.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006397/0.664, allocations: 0.6436 MB / 0.5585 GB, free: 12.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001376/0.6654, allocations: 1.067 MB / 0.5596 GB, free: 11.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.6657, allocations: 63.94 kB / 0.5596 GB, free: 11.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003297/0.6661, allocations: 420.1 kB / 0.56 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/0.6683, allocations: 0.9862 MB / 0.561 GB, free: 10.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/0.6708, allocations: 1.372 MB / 0.5624 GB, free: 8.836 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.6727, allocations: 0.9916 MB / 0.5633 GB, free: 7.848 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/0.6727, allocations: 4 kB / 0.5633 GB, free: 7.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=382) (initialization): time 0.006769/0.6795, allocations: 3.384 MB / 0.5666 GB, free: 4.438 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.6795, allocations: 8 kB / 0.5666 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.6796, allocations: 8 kB / 0.5666 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002752/0.6824, allocations: 1.217 MB / 0.5678 GB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00293/0.6853, allocations: 0.6671 MB / 0.5685 GB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.6959, allocations: 7.481 MB / 0.5758 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003258/0.6992, allocations: 271.9 kB / 0.576 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007349/0.7, allocations: 124 kB / 0.5762 GB, free: 10.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 308 * 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.001107/0.7011, allocations: 284.3 kB / 0.5764 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007492/0.7019, allocations: 209.5 kB / 0.5766 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.7035, allocations: 0.6028 MB / 0.5772 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.614e-05/0.7035, allocations: 32 kB / 0.5773 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.202e-05/0.7035, allocations: 7.953 kB / 0.5773 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.658e-05/0.7036, allocations: 11.95 kB / 0.5773 GB, free: 9.156 MB / 394.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01587/0.7195, allocations: 7.149 MB / 0.5843 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-05/0.7195, allocations: 8 kB / 0.5843 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00294/0.7225, allocations: 0.6283 MB / 0.5849 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002712/0.7252, allocations: 1.192 MB / 0.586 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004681/0.7257, allocations: 99.92 kB / 0.5861 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/0.739, allocations: 10.12 MB / 0.596 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.358e-05/0.7391, allocations: 11.94 kB / 0.596 GB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/0.7514, allocations: 5.436 MB / 0.6013 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/0.7535, allocations: 0.5218 MB / 0.6019 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007704/0.7543, allocations: 83.94 kB / 0.6019 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/0.7568, allocations: 263.8 kB / 0.6022 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/0.7579, allocations: 425.2 kB / 0.6026 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003973/0.7584, allocations: 127.8 kB / 0.6027 GB, free: 13.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001377/0.7598, allocations: 0.696 MB / 0.6034 GB, free: 13.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7598, allocations: 0 / 0.6034 GB, free: 13.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00356/0.7633, allocations: 0.707 MB / 0.6041 GB, free: 12.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 27 (inertia14.phi,inertia14.w,constantSpeed.phi,position.phi,position.w,speed.phi,speed.w,inertia13.phi,inertia13.w,accelerate.phi,accelerate.w,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) * 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) * 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 (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.0007617/0.7641, allocations: 279.6 kB / 0.6043 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006774/0.7709, allocations: 2.931 MB / 0.6072 GB, free: 9.297 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.7709, allocations: 4.062 kB / 0.6072 GB, free: 9.293 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005127/0.7761, allocations: 2.45 MB / 0.6096 GB, free: 6.789 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.7784, allocations: 290.1 kB / 0.6099 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.7903, allocations: 5.246 MB / 0.615 GB, free: 1.137 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2542/1.045, allocations: 1.55 MB / 0.6165 GB, free: 115.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001717/1.046, allocations: 298.3 kB / 0.6168 GB, free: 115.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005887/1.047, allocations: 178 kB / 0.617 GB, free: 115.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/1.047, allocations: 0 / 0.617 GB, free: 115.6 MB / 426.7 MB Notification: Performance of Templates: time 0.05997/1.107, allocations: 34.39 MB / 0.6506 GB, free: 111.7 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.makefile (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)