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.008614/0.008614, allocations: 166.1 kB / 15.11 MB, free: 5.969 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.208/1.208, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001594/0.001594, allocations: 110.6 kB / 226.2 MB, free: 10.1 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.3109/0.3109, allocations: 38.05 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 8 kB / 362.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.1003, allocations: 48.7 MB / 411.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3597/0.4601, allocations: 91.97 MB / 0.4917 GB, free: 11.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.4604, allocations: 72.78 kB / 0.4918 GB, free: 11.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1262/0.5866, allocations: 44.39 MB / 0.5352 GB, free: 4.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.5866, allocations: 0 / 0.5352 GB, free: 4.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001152/0.5868, allocations: 44 kB / 0.5352 GB, free: 4.707 MB / 378.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.006173/0.5929, allocations: 2.381 MB / 0.5375 GB, free: 2.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.593, allocations: 12.03 kB / 0.5375 GB, free: 2.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.5943, allocations: 285 kB / 0.5378 GB, free: 1.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.5966, allocations: 0.944 MB / 0.5387 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006381/0.5973, allocations: 402.1 kB / 0.5391 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004726/0.5978, allocations: 231.7 kB / 0.5393 GB, free: 320 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004977/0.6028, allocations: 2.406 MB / 0.5417 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/0.6029, allocations: 31.72 kB / 0.5417 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002131/0.6031, allocations: 83.98 kB / 0.5418 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.941e-05/0.6032, allocations: 51.94 kB / 0.5418 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005214/0.6084, allocations: 2.497 MB / 0.5443 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/0.6207, allocations: 6.168 MB / 0.5503 GB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004067/0.6248, allocations: 2.3 MB / 0.5526 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.6249, allocations: 50.16 kB / 0.5526 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.365e-05/0.625, allocations: 60.72 kB / 0.5527 GB, free: 2.379 MB / 394.7 MB Notification: Performance of pre-optimization done (n=260): time 4.729e-06/0.625, allocations: 0 / 0.5527 GB, free: 2.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=315): time 0.02631/0.6513, allocations: 12.9 MB / 0.5653 GB, free: 5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.6515, allocations: 247.6 kB / 0.5655 GB, free: 4.711 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.6528, allocations: 0.9131 MB / 0.5664 GB, free: 3.789 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003781/0.6532, allocations: 101.6 kB / 0.5665 GB, free: 3.684 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005713/0.6538, allocations: 0.6511 MB / 0.5671 GB, free: 3.023 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008911/0.6547, allocations: 1.051 MB / 0.5681 GB, free: 1.957 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.6549, allocations: 60 kB / 0.5682 GB, free: 1.898 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.6551, allocations: 432 kB / 0.5686 GB, free: 1.469 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/0.6572, allocations: 1.06 MB / 0.5697 GB, free: 416 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.6597, allocations: 1.454 MB / 0.5711 GB, free: 14.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.6618, allocations: 1.087 MB / 0.5721 GB, free: 13.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.6618, allocations: 0 / 0.5721 GB, free: 13.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=382) (initialization): time 0.007014/0.6689, allocations: 3.582 MB / 0.5756 GB, free: 10.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.6689, allocations: 8 kB / 0.5756 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.6689, allocations: 8 kB / 0.5756 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/0.6716, allocations: 1.233 MB / 0.5769 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/0.6744, allocations: 0.6671 MB / 0.5775 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.6849, allocations: 7.631 MB / 0.585 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2156/0.9005, allocations: 272.2 kB / 0.5852 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007799/0.9013, allocations: 127.5 kB / 0.5853 GB, free: 102.7 MB / 426.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 () * Number of clocked 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.001553/0.9029, allocations: 465.7 kB / 0.5858 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006508/0.9035, allocations: 202.9 kB / 0.586 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.9052, allocations: 0.6902 MB / 0.5866 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/0.9052, allocations: 31.19 kB / 0.5867 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.523e-05/0.9053, allocations: 2.922 kB / 0.5867 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.197e-05/0.9053, allocations: 16.97 kB / 0.5867 GB, free: 102.5 MB / 426.7 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.01605/0.9214, allocations: 7.483 MB / 0.594 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/0.9214, allocations: 9.531 kB / 0.594 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002683/0.9241, allocations: 0.6288 MB / 0.5946 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002529/0.9267, allocations: 1.218 MB / 0.5958 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003595/0.9271, allocations: 97.41 kB / 0.5959 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.9378, allocations: 10.27 MB / 0.6059 GB, free: 94.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/0.9379, allocations: 13.41 kB / 0.606 GB, free: 94.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/0.9508, allocations: 6.043 MB / 0.6119 GB, free: 93.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/0.9524, allocations: 0.519 MB / 0.6124 GB, free: 92.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003912/0.9528, allocations: 83.16 kB / 0.6124 GB, free: 92.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/0.9548, allocations: 265.9 kB / 0.6127 GB, free: 92.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008811/0.9557, allocations: 426.9 kB / 0.6131 GB, free: 92.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002408/0.9559, allocations: 125.2 kB / 0.6132 GB, free: 92.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001245/0.9572, allocations: 0.7095 MB / 0.6139 GB, free: 92.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9572, allocations: 0 / 0.6139 GB, free: 92.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003349/0.9605, allocations: 0.712 MB / 0.6146 GB, free: 92.77 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) * 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 (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.0006642/0.9612, allocations: 285.6 kB / 0.6149 GB, free: 92.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006525/0.9677, allocations: 3.265 MB / 0.6181 GB, free: 91.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.9678, allocations: 2.938 kB / 0.6181 GB, free: 91.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005656/0.9735, allocations: 2.678 MB / 0.6207 GB, free: 90.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.9761, allocations: 281.9 kB / 0.621 GB, free: 90.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.9888, allocations: 6.956 MB / 0.6278 GB, free: 86.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/0.9902, allocations: 1.546 MB / 0.6293 GB, free: 85.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001898/0.9921, allocations: 296.4 kB / 0.6295 GB, free: 85.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007645/0.9928, allocations: 179.5 kB / 0.6297 GB, free: 85.58 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/0.9929, allocations: 3.828 kB / 0.6297 GB, free: 85.58 MB / 426.7 MB Notification: Performance of Templates: time 0.05917/1.052, allocations: 34.39 MB / 0.6633 GB, free: 79.82 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)