Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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) 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(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001478/0.001478, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.402/1.402, allocations: 170.6 MB / 178.7 MB, free: 15.65 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.001641/0.001641, allocations: 115.4 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.658e-05/1.66e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08123/0.08126, allocations: 38.77 MB / 301 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2804/0.3617, allocations: 67.1 MB / 368.1 MB, free: 1.344 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.362, allocations: 69.58 kB / 368.1 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009295/0.3713, allocations: 3.645 MB / 371.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3714, allocations: 0 / 371.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.3714, allocations: 8 kB / 371.8 MB, free: 14.32 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005908/0.372, allocations: 476.1 kB / 372.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.3721, allocations: 8.031 kB / 372.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.3721, allocations: 23.72 kB / 372.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.3725, allocations: 220.5 kB / 372.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.3725, allocations: 8.562 kB / 372.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.3726, allocations: 19.95 kB / 372.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002362/0.3728, allocations: 103.7 kB / 372.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.3731, allocations: 166.5 kB / 372.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.3732, allocations: 7.938 kB / 372.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.3732, allocations: 0 / 372.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3732, allocations: 7.938 kB / 372.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.3743, allocations: 0.6575 MB / 373.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.3746, allocations: 136.6 kB / 373.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.23e-05/0.3747, allocations: 58.42 kB / 373.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.3747, allocations: 4 kB / 373.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.3747, allocations: 32.31 kB / 373.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.3748, allocations: 0 / 373.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001209/0.376, allocations: 0.7631 MB / 374.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.376, allocations: 51.41 kB / 374.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3761, allocations: 143.5 kB / 374.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.3762, allocations: 25.7 kB / 374.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.17e-05/0.3763, allocations: 157.5 kB / 374.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.3763, allocations: 79.81 kB / 374.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-06/0.3764, allocations: 0 / 374.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3765, allocations: 333.6 kB / 375.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.401e-05/0.3766, allocations: 43.38 kB / 375.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.563e-05/0.3767, allocations: 86.64 kB / 375.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.826e-05/0.3768, allocations: 60.73 kB / 375.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3768, allocations: 4 kB / 375.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003291/0.3771, allocations: 215.2 kB / 375.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3772, allocations: 4 kB / 375.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3772, allocations: 4 kB / 375.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001454/0.3773, allocations: 36.08 kB / 375.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.3775, allocations: 48.05 kB / 375.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.3786, allocations: 1.324 MB / 377 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.3788, allocations: 12.08 kB / 377.1 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.3788, allocations: 11.94 kB / 377.1 MB, free: 9.199 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.432e-05/0.3789, allocations: 113 kB / 377.2 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.3789, allocations: 15.81 kB / 377.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.379, allocations: 24.33 kB / 377.2 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.379, allocations: 0 / 377.2 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.379, allocations: 4 kB / 377.2 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.379, allocations: 0 / 377.2 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007126/0.3797, allocations: 0.5826 MB / 377.8 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3798, allocations: 0 / 377.8 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.38, allocations: 47.19 kB / 377.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.932e-05/0.3801, allocations: 36.33 kB / 377.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3801, allocations: 4 kB / 377.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009688/0.3811, allocations: 1.322 MB / 379.2 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3811, allocations: 4.031 kB / 379.2 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.3816, allocations: 388.5 kB / 379.6 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.3816, allocations: 106.1 kB / 379.7 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.3817, allocations: 3.938 kB / 379.7 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3818, allocations: 7.984 kB / 379.7 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.3818, allocations: 23.3 kB / 379.7 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.3819, allocations: 8 kB / 379.7 MB, free: 6.551 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.679e-05/0.382, allocations: 120.1 kB / 379.9 MB, free: 6.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.382, allocations: 4 kB / 379.9 MB, free: 6.441 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.3823, allocations: 48 kB / 379.9 MB, free: 6.395 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000135/0.3824, allocations: 99.19 kB / 380 MB, free: 6.289 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004149/0.3828, allocations: 256.7 kB / 380.3 MB, free: 6.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3829, allocations: 0 / 380.3 MB, free: 6.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.3831, allocations: 198.8 kB / 380.5 MB, free: 5.891 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.3834, allocations: 27.55 kB / 380.5 MB, free: 5.867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009105/0.3843, allocations: 0.5296 MB / 381 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3847, allocations: 0.748 MB / 381.8 MB, free: 4.562 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.362e-05/0.3848, allocations: 22.08 kB / 381.8 MB, free: 4.543 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.3848, allocations: 15.44 kB / 381.8 MB, free: 4.527 MB / 266.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3848, allocations: 0 / 381.8 MB, free: 4.527 MB / 266.7 MB Notification: Performance of Templates: time 0.004715/0.3895, allocations: 2.029 MB / 383.8 MB, free: 2.508 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)