Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.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.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009791/0.000979, allocations: 157.2 kB / 7.633 MB, free: 1.445 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.294/1.294, allocations: 170.7 MB / 178.7 MB, free: 6.973 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.001637/0.001637, allocations: 108 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.694e-05/1.696e-05, allocations: 0 / 262.2 MB, free: 3.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2445, allocations: 38.77 MB / 301 MB, free: 39.06 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09024/0.3348, allocations: 67.11 MB / 368.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.3351, allocations: 63.97 kB / 368.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0113/0.3464, allocations: 3.796 MB / 371.9 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3465, allocations: 4 kB / 371.9 MB, free: 8.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.3465, allocations: 4.656 kB / 372 MB, free: 8.727 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006974/0.3472, allocations: 476 kB / 372.4 MB, free: 8.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.3473, allocations: 8.031 kB / 372.4 MB, free: 8.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.684e-05/0.3474, allocations: 27.72 kB / 372.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.3477, allocations: 235.3 kB / 372.7 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.3478, allocations: 15.95 kB / 372.7 MB, free: 7.895 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.3478, allocations: 12.66 kB / 372.7 MB, free: 7.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002567/0.3481, allocations: 113.4 kB / 372.8 MB, free: 7.773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.3484, allocations: 150.4 kB / 373 MB, free: 7.617 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3484, allocations: 7.906 kB / 373 MB, free: 7.609 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.3484, allocations: 0 / 373 MB, free: 7.609 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3484, allocations: 5.734 kB / 373 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.3495, allocations: 0.5704 MB / 373.6 MB, free: 7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.3497, allocations: 159.4 kB / 373.7 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.3499, allocations: 80.86 kB / 373.8 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3499, allocations: 0 / 373.8 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3499, allocations: 42.55 kB / 373.8 MB, free: 6.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.3499, allocations: 2.516 kB / 373.8 MB, free: 6.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001675/0.3516, allocations: 0.9048 MB / 374.7 MB, free: 5.703 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.3517, allocations: 55.41 kB / 374.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.3518, allocations: 141.5 kB / 374.9 MB, free: 5.492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3519, allocations: 27.2 kB / 375 MB, free: 5.461 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.352, allocations: 136.4 kB / 375.1 MB, free: 5.324 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.3521, allocations: 110.3 kB / 375.2 MB, free: 5.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/0.3521, allocations: 4 kB / 375.2 MB, free: 5.211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3522, allocations: 338.8 kB / 375.5 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.3523, allocations: 56 kB / 375.6 MB, free: 4.816 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.3525, allocations: 91.22 kB / 375.7 MB, free: 4.719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.3526, allocations: 69.38 kB / 375.7 MB, free: 4.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3526, allocations: 0 / 375.7 MB, free: 4.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004122/0.353, allocations: 247.8 kB / 376 MB, free: 4.402 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3531, allocations: 10.34 kB / 376 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.3531, allocations: 0 / 376 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.3533, allocations: 48.78 kB / 376 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.3535, allocations: 59.91 kB / 376.1 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.3549, allocations: 1.502 MB / 377.6 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.355, allocations: 12 kB / 377.6 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.355, allocations: 14.22 kB / 377.6 MB, free: 2.652 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.31e-05/0.3551, allocations: 107.2 kB / 377.7 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.3552, allocations: 19.77 kB / 377.7 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.3553, allocations: 31.34 kB / 377.8 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3553, allocations: 4 kB / 377.8 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3553, allocations: 2.188 kB / 377.8 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3553, allocations: 3.984 kB / 377.8 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000952/0.3563, allocations: 0.6945 MB / 378.5 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.3563, allocations: 4.094 kB / 378.5 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.3566, allocations: 63.91 kB / 378.6 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001067/0.3567, allocations: 32.83 kB / 378.6 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.3567, allocations: 4 kB / 378.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.3577, allocations: 1.33 MB / 379.9 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3578, allocations: 0 / 379.9 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.3584, allocations: 485.5 kB / 380.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.3585, allocations: 109 kB / 380.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.3586, allocations: 4 kB / 380.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3587, allocations: 3.984 kB / 380.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.3588, allocations: 31.92 kB / 380.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.3588, allocations: 8 kB / 380.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.203e-05/0.3589, allocations: 115.3 kB / 380.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3589, allocations: 0 / 380.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003992/0.3593, allocations: 56 kB / 380.7 MB, free: 15.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001738/0.3595, allocations: 105 kB / 380.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005459/0.3601, allocations: 301.6 kB / 381.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3601, allocations: 0 / 381.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.3604, allocations: 217.6 kB / 381.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3608, allocations: 23.98 kB / 381.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.3619, allocations: 0.5826 MB / 381.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.3622, allocations: 0.7681 MB / 382.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.072e-05/0.3623, allocations: 18.08 kB / 382.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.3624, allocations: 23.44 kB / 382.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3624, allocations: 0 / 382.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of Templates: time 0.006189/0.3686, allocations: 2.251 MB / 385 MB, free: 11.04 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)