Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001125/0.001125, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.508/1.508, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001686/0.001686, allocations: 116.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.753e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08441/0.08445, allocations: 44.5 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.314/0.3985, allocations: 73.07 MB / 422.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.3988, allocations: 69.27 kB / 422.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009226/0.4081, allocations: 3.672 MB / 426.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4081, allocations: 0 / 426.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.4081, allocations: 3.969 kB / 426.2 MB, free: 10.05 MB / 298.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.0005041/0.4086, allocations: 469.6 kB / 426.7 MB, free: 9.629 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4087, allocations: 11.53 kB / 426.7 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.4087, allocations: 23.25 kB / 426.7 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.409, allocations: 231.5 kB / 427 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.409, allocations: 11.44 kB / 427 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.4091, allocations: 23.56 kB / 427 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.4094, allocations: 200 kB / 427.2 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.4094, allocations: 7.844 kB / 427.2 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.4095, allocations: 11.12 kB / 427.2 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.4095, allocations: 7.781 kB / 427.2 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.4097, allocations: 117.4 kB / 427.3 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.4105, allocations: 0.6948 MB / 428 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.4107, allocations: 145.5 kB / 428.2 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.793e-05/0.4108, allocations: 64.47 kB / 428.2 MB, free: 8.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.4108, allocations: 11.7 kB / 428.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.4109, allocations: 30.56 kB / 428.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.4109, allocations: 0 / 428.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.00111/0.412, allocations: 0.8112 MB / 429.1 MB, free: 8.164 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.412, allocations: 59.38 kB / 429.1 MB, free: 8.098 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.4122, allocations: 155.4 kB / 429.3 MB, free: 7.992 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.4122, allocations: 29.02 kB / 429.3 MB, free: 7.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.4122, allocations: 149 kB / 429.5 MB, free: 7.844 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.4123, allocations: 80.38 kB / 429.5 MB, free: 7.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.4123, allocations: 7.906 kB / 429.6 MB, free: 7.781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.191e-05/0.4124, allocations: 337 kB / 429.9 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.4124, allocations: 52.5 kB / 429.9 MB, free: 7.453 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.362e-05/0.4126, allocations: 96.64 kB / 430 MB, free: 7.402 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.789e-05/0.4127, allocations: 56.92 kB / 430.1 MB, free: 7.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4127, allocations: 0 / 430.1 MB, free: 7.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003088/0.413, allocations: 240.1 kB / 430.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.413, allocations: 7.688 kB / 430.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.413, allocations: 0 / 430.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.4132, allocations: 39.28 kB / 430.4 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.4134, allocations: 50.52 kB / 430.4 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007953/0.4142, allocations: 1.378 MB / 431.8 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.4143, allocations: 7.797 kB / 431.8 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.4143, allocations: 11.25 kB / 431.8 MB, free: 5.969 MB / 298.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 6.14e-05/0.4144, allocations: 124.6 kB / 431.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.4144, allocations: 19.48 kB / 432 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.4145, allocations: 30.56 kB / 432 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4145, allocations: 3.875 kB / 432 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4145, allocations: 0 / 432 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4145, allocations: 0 / 432 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.4152, allocations: 0.6449 MB / 432.6 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4152, allocations: 0 / 432.6 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.4154, allocations: 49.88 kB / 432.7 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.657e-05/0.4155, allocations: 31.91 kB / 432.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.4155, allocations: 11.48 kB / 432.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007146/0.4162, allocations: 1.379 MB / 434.1 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4162, allocations: 4.062 kB / 434.1 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.4166, allocations: 405.3 kB / 434.5 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.4167, allocations: 96.7 kB / 434.6 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.4167, allocations: 6.906 kB / 434.6 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.4168, allocations: 7.578 kB / 434.6 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.4169, allocations: 18.97 kB / 434.6 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.4169, allocations: 3.844 kB / 434.6 MB, free: 3.695 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.481e-05/0.417, allocations: 125 kB / 434.8 MB, free: 3.617 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.417, allocations: 0 / 434.8 MB, free: 3.617 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.4173, allocations: 60.59 kB / 434.8 MB, free: 3.617 MB / 298.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.0001229/0.4174, allocations: 121.2 kB / 434.9 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003893/0.4178, allocations: 276.8 kB / 435.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4178, allocations: 0 / 435.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.418, allocations: 204.3 kB / 435.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.4183, allocations: 31.48 kB / 435.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007636/0.4191, allocations: 0.5313 MB / 436 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.4193, allocations: 0.75 MB / 436.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.883e-05/0.4193, allocations: 21.44 kB / 436.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.4194, allocations: 22.84 kB / 436.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4194, allocations: 0 / 436.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of Templates: time 0.004351/0.4238, allocations: 2.158 MB / 438.9 MB, free: 1.055 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)