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.005437/0.005437, allocations: 165.8 kB / 15.11 MB, free: 5.984 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.262/1.262, allocations: 170.8 MB / 186.6 MB, free: 0.9609 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.001701/0.001701, allocations: 110.6 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003039, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2138, allocations: 38.77 MB / 312.9 MB, free: 38.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08196/0.2958, allocations: 67.86 MB / 380.7 MB, free: 6.652 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.2961, allocations: 71.95 kB / 380.8 MB, free: 6.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009864/0.306, allocations: 3.675 MB / 384.5 MB, free: 2.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.306, allocations: 0 / 384.5 MB, free: 2.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.306, allocations: 4 kB / 384.5 MB, free: 2.891 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006424/0.3067, allocations: 0.491 MB / 385 MB, free: 2.352 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3067, allocations: 8.031 kB / 385 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.3068, allocations: 27.72 kB / 385 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.307, allocations: 223.4 kB / 385.2 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3071, allocations: 12.44 kB / 385.2 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.3071, allocations: 27.95 kB / 385.3 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.3075, allocations: 209.9 kB / 385.5 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.3075, allocations: 3.906 kB / 385.5 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.3075, allocations: 12 kB / 385.5 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.3076, allocations: 4 kB / 385.5 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.3078, allocations: 133.6 kB / 385.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009822/0.3088, allocations: 0.7095 MB / 386.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.3091, allocations: 142.5 kB / 386.5 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3091, allocations: 11.88 kB / 386.5 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.3091, allocations: 34.56 kB / 386.5 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.3091, allocations: 0 / 386.5 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001503/0.3107, allocations: 0.8862 MB / 387.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3107, allocations: 55.41 kB / 387.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.3109, allocations: 158.5 kB / 387.6 MB, free: 15.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3109, allocations: 33.7 kB / 387.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.311, allocations: 140.3 kB / 387.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.3111, allocations: 94.67 kB / 387.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-06/0.3111, allocations: 4 kB / 387.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3112, allocations: 330.8 kB / 388.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.3113, allocations: 59.69 kB / 388.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3115, allocations: 111.7 kB / 388.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.3116, allocations: 74 kB / 388.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3116, allocations: 0 / 388.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004116/0.3121, allocations: 259.3 kB / 388.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3121, allocations: 6.188 kB / 388.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3121, allocations: 4 kB / 388.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00015/0.3123, allocations: 28.84 kB / 388.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.3125, allocations: 56.03 kB / 388.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.3136, allocations: 1.39 MB / 390.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3137, allocations: 12.09 kB / 390.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.3138, allocations: 11.98 kB / 390.2 MB, free: 12.71 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 () * 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 0.0001281/0.3139, allocations: 137.8 kB / 390.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.3139, allocations: 15.81 kB / 390.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.314, allocations: 21.88 kB / 390.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.314, allocations: 4 kB / 390.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.314, allocations: 0 / 390.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.314, allocations: 11.94 kB / 390.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008298/0.3149, allocations: 0.6569 MB / 391.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3149, allocations: 0 / 391.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.3151, allocations: 51.91 kB / 391.1 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.3152, allocations: 28.84 kB / 391.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3152, allocations: 7.938 kB / 391.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.3163, allocations: 1.394 MB / 392.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3163, allocations: 0 / 392.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/0.3169, allocations: 438.5 kB / 393 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.317, allocations: 108.9 kB / 393.1 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.3171, allocations: 4 kB / 393.1 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3172, allocations: 12 kB / 393.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.3173, allocations: 19.97 kB / 393.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.3173, allocations: 4 kB / 393.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.967e-05/0.3174, allocations: 129.2 kB / 393.2 MB, free: 9.426 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3174, allocations: 4 kB / 393.2 MB, free: 9.422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.3177, allocations: 56 kB / 393.3 MB, free: 9.367 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 () * 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.0001443/0.3178, allocations: 107.2 kB / 393.4 MB, free: 9.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005143/0.3184, allocations: 290.7 kB / 393.7 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3184, allocations: 0 / 393.7 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.3187, allocations: 219 kB / 393.9 MB, free: 8.727 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.319, allocations: 37.06 kB / 393.9 MB, free: 8.691 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.3201, allocations: 0.818 MB / 394.7 MB, free: 7.844 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3205, allocations: 0.7596 MB / 395.5 MB, free: 7.059 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.441e-05/0.3206, allocations: 21.92 kB / 395.5 MB, free: 7.031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.3206, allocations: 19.44 kB / 395.5 MB, free: 7.012 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3206, allocations: 4 kB / 395.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of Templates: time 0.00516/0.3258, allocations: 2.138 MB / 397.7 MB, free: 4.891 MB / 298.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)