Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.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.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001024/0.001024, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.119/1.119, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001883/0.001883, allocations: 114.8 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.713e-05, allocations: 4 kB / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07464/0.07469, allocations: 38.76 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2512/0.3259, allocations: 65.64 MB / 373.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.3262, allocations: 69.66 kB / 373.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01011/0.3363, allocations: 3.525 MB / 376.9 MB, free: 7.531 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3364, allocations: 0 / 376.9 MB, free: 7.531 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3364, allocations: 0 / 376.9 MB, free: 7.531 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000339/0.3367, allocations: 366.1 kB / 377.2 MB, free: 7.133 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3368, allocations: 8.031 kB / 377.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.3368, allocations: 7.984 kB / 377.2 MB, free: 7.117 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3369, allocations: 163 kB / 377.4 MB, free: 6.918 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.337, allocations: 11.94 kB / 377.4 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.337, allocations: 0 / 377.4 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.567e-05/0.3371, allocations: 41.58 kB / 377.4 MB, free: 6.863 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3371, allocations: 0 / 377.4 MB, free: 6.863 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.3371, allocations: 0 / 377.4 MB, free: 6.863 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3371, allocations: 0 / 377.4 MB, free: 6.863 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.3372, allocations: 8 kB / 377.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.3373, allocations: 154.1 kB / 377.6 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.046e-05/0.3374, allocations: 40.48 kB / 377.6 MB, free: 6.617 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.3374, allocations: 12.73 kB / 377.7 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.3375, allocations: 0 / 377.7 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3375, allocations: 38.64 kB / 377.7 MB, free: 6.559 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.3375, allocations: 0 / 377.7 MB, free: 6.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001185/0.3376, allocations: 45.42 kB / 377.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.3377, allocations: 51.41 kB / 377.8 MB, free: 6.449 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.3378, allocations: 100.9 kB / 377.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3378, allocations: 29.7 kB / 377.9 MB, free: 6.309 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.3379, allocations: 87.94 kB / 378 MB, free: 6.223 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.3379, allocations: 7.844 kB / 378 MB, free: 6.215 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.3379, allocations: 0 / 378 MB, free: 6.215 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.338, allocations: 322.7 kB / 378.3 MB, free: 5.895 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.3381, allocations: 7.938 kB / 378.3 MB, free: 5.887 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.802e-05/0.3381, allocations: 17.09 kB / 378.3 MB, free: 5.867 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.327e-05/0.3382, allocations: 16.03 kB / 378.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3382, allocations: 4 kB / 378.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.927e-05/0.3382, allocations: 57.47 kB / 378.4 MB, free: 5.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.3383, allocations: 4 kB / 378.4 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3383, allocations: 0.5625 kB / 378.4 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3383, allocations: 7.953 kB / 378.4 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.3384, allocations: 4 kB / 378.4 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3384, allocations: 7.984 kB / 378.4 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.3384, allocations: 0.875 kB / 378.4 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3384, allocations: 4.031 kB / 378.5 MB, free: 5.766 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.81e-05/0.3385, allocations: 108.9 kB / 378.6 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.3385, allocations: 0 / 378.6 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.3385, allocations: 3.5 kB / 378.6 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3386, allocations: 3.953 kB / 378.6 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3386, allocations: 0 / 378.6 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3386, allocations: 4 kB / 378.6 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3387, allocations: 153.2 kB / 378.7 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3387, allocations: 128 / 378.7 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.238e-05/0.3388, allocations: 15.94 kB / 378.7 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3388, allocations: 7.938 kB / 378.7 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3388, allocations: 3.984 kB / 378.7 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.3388, allocations: 0 / 378.7 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3388, allocations: 3.953 kB / 378.7 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.3389, allocations: 76.84 kB / 378.8 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.339, allocations: 81.14 kB / 378.9 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.339, allocations: 0 / 378.9 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.756e-05/0.339, allocations: 4.062 kB / 378.9 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.3391, allocations: 0 / 378.9 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3391, allocations: 3.953 kB / 378.9 MB, free: 5.219 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.158e-05/0.3391, allocations: 90.95 kB / 379 MB, free: 5.133 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3391, allocations: 0 / 379 MB, free: 5.133 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002559/0.3394, allocations: 67.81 kB / 379.1 MB, free: 5.07 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002755/0.3397, allocations: 179 kB / 379.2 MB, free: 4.887 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.262e-05/0.3397, allocations: 15.62 kB / 379.3 MB, free: 4.875 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3398, allocations: 4.062 kB / 379.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.31e-05/0.3398, allocations: 4 kB / 379.3 MB, free: 4.867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.928e-05/0.3399, allocations: 9.422 kB / 379.3 MB, free: 4.863 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.3401, allocations: 96.77 kB / 379.4 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3404, allocations: 0.6809 MB / 380 MB, free: 4.039 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.522e-05/0.3404, allocations: 3.984 kB / 380.1 MB, free: 4.035 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.3405, allocations: 11.44 kB / 380.1 MB, free: 4.023 MB / 266.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3405, allocations: 4 kB / 380.1 MB, free: 4.02 MB / 266.7 MB Notification: Performance of Templates: time 0.003043/0.3435, allocations: 1.02 MB / 381.1 MB, free: 3.008 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (rm -f Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1)