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.0009584/0.0009585, allocations: 179.8 kB / 16.38 MB, free: 5.762 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.142/1.142, allocations: 194.5 MB / 211.6 MB, free: 3.066 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.001475/0.001475, allocations: 119.2 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004027, allocations: 12 kB / 310.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08421/0.08463, allocations: 44.5 MB / 355.1 MB, free: 2.367 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2543/0.3389, allocations: 73.15 MB / 428.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.3392, allocations: 74.33 kB / 428.3 MB, free: 16.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008439/0.3477, allocations: 3.675 MB / 432 MB, free: 13.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3477, allocations: 0 / 432 MB, free: 13.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.3477, allocations: 7.938 kB / 432 MB, free: 13.36 MB / 314.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.0004788/0.3482, allocations: 483.2 kB / 432.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3483, allocations: 12.03 kB / 432.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.3483, allocations: 24.75 kB / 432.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.3485, allocations: 227.7 kB / 432.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3485, allocations: 14.44 kB / 432.7 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.3486, allocations: 29.33 kB / 432.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.3489, allocations: 211.5 kB / 432.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3489, allocations: 3.562 kB / 432.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.3489, allocations: 7.062 kB / 432.9 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.349, allocations: 4.562 kB / 433 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.3492, allocations: 131.4 kB / 433.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007552/0.3499, allocations: 0.7058 MB / 433.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.3502, allocations: 153.9 kB / 433.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3502, allocations: 0 / 433.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.3502, allocations: 41.36 kB / 434 MB, free: 11.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 9.82e-07/0.3502, allocations: 2.25 kB / 434 MB, free: 11.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001276/0.3515, allocations: 0.8888 MB / 434.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.3516, allocations: 55.34 kB / 434.9 MB, free: 10.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3517, allocations: 163 kB / 435.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.3517, allocations: 34.98 kB / 435.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.3517, allocations: 137.6 kB / 435.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.3518, allocations: 85.12 kB / 435.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.3518, allocations: 3.375 kB / 435.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.3519, allocations: 328 kB / 435.7 MB, free: 9.875 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.996e-05/0.352, allocations: 58.14 kB / 435.7 MB, free: 9.836 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3521, allocations: 115.2 kB / 435.8 MB, free: 9.734 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3522, allocations: 67.5 kB / 435.9 MB, free: 9.699 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3522, allocations: 0 / 435.9 MB, free: 9.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003264/0.3525, allocations: 257.7 kB / 436.1 MB, free: 9.492 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3526, allocations: 4 kB / 436.1 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3526, allocations: 7.953 kB / 436.2 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.3527, allocations: 39.52 kB / 436.2 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.3529, allocations: 52.09 kB / 436.2 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007686/0.3537, allocations: 1.384 MB / 437.6 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.3538, allocations: 16.03 kB / 437.6 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3538, allocations: 9.875 kB / 437.7 MB, free: 7.957 MB / 314.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 () * Number of clocked 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.408e-05/0.3539, allocations: 135.6 kB / 437.8 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.354, allocations: 18.11 kB / 437.8 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.354, allocations: 31.94 kB / 437.8 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.354, allocations: 0.8438 kB / 437.8 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.354, allocations: 4 kB / 437.8 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.354, allocations: 4 kB / 437.8 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006527/0.3547, allocations: 0.6543 MB / 438.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3547, allocations: 4 kB / 438.5 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.3549, allocations: 39.97 kB / 438.5 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.333e-05/0.355, allocations: 37.83 kB / 438.6 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.355, allocations: 3.188 kB / 438.6 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007413/0.3558, allocations: 1.4 MB / 440 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3558, allocations: 7.312 kB / 440 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.3562, allocations: 428.6 kB / 440.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.3563, allocations: 88.92 kB / 440.5 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.3563, allocations: 10.44 kB / 440.5 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3564, allocations: 12.03 kB / 440.5 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.3565, allocations: 14.98 kB / 440.5 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3565, allocations: 8.641 kB / 440.5 MB, free: 5.137 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.068e-05/0.3566, allocations: 127.2 kB / 440.7 MB, free: 5.023 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3566, allocations: 0 / 440.7 MB, free: 5.023 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002875/0.3568, allocations: 58.98 kB / 440.7 MB, free: 4.973 MB / 314.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 () * Number of clocked 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.0001303/0.357, allocations: 114.3 kB / 440.8 MB, free: 4.855 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004612/0.3575, allocations: 297.3 kB / 441.1 MB, free: 4.598 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3575, allocations: 0 / 441.1 MB, free: 4.598 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.3577, allocations: 210.9 kB / 441.3 MB, free: 4.402 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.3581, allocations: 32.03 kB / 441.4 MB, free: 4.383 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.3591, allocations: 0.8138 MB / 442.2 MB, free: 3.594 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.3593, allocations: 0.7524 MB / 442.9 MB, free: 2.816 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.536e-05/0.3594, allocations: 17.95 kB / 442.9 MB, free: 2.801 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.3594, allocations: 19.44 kB / 443 MB, free: 2.781 MB / 314.7 MB Notification: Performance of SimCode: time 7.12e-07/0.3594, allocations: 4 kB / 443 MB, free: 2.777 MB / 314.7 MB Notification: Performance of Templates: time 0.004308/0.3637, allocations: 2.149 MB / 445.1 MB, free: 0.6875 MB / 314.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)