Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001487, allocations: 112 kB / 17.07 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 196 kB / 18.01 MB, free: 5.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 47.92 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1031, allocations: 46.62 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001671/0.1048, allocations: 0.5305 MB / 375 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1067, allocations: 1.512 MB / 376.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.1068, allocations: 3.938 kB / 376.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.1068, allocations: 4 kB / 376.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006007/0.1074, allocations: 171.5 kB / 376.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.069e-05/0.1075, allocations: 0 / 376.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.917e-05/0.1075, allocations: 19.92 kB / 376.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.1076, allocations: 15.92 kB / 376.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.1076, allocations: 0 / 376.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.926e-05/0.1077, allocations: 11.94 kB / 376.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.1077, allocations: 4 kB / 376.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.1081, allocations: 243.7 kB / 377 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.1081, allocations: 4 kB / 377 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.1081, allocations: 7.938 kB / 377 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.1084, allocations: 163.8 kB / 377.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1084, allocations: 4 kB / 377.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1084, allocations: 0 / 377.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1085, allocations: 0 / 377.2 MB, free: 1.859 MB / 318.1 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.000469/0.1089, allocations: 367.4 kB / 377.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.109, allocations: 8.031 kB / 377.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.109, allocations: 8.844 kB / 377.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.1092, allocations: 168.3 kB / 377.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1092, allocations: 384 / 377.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.1092, allocations: 8.375 kB / 377.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.1093, allocations: 38 kB / 377.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1094, allocations: 0 / 377.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1094, allocations: 3.938 kB / 377.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1094, allocations: 0 / 377.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.654e-05/0.1094, allocations: 15.98 kB / 377.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.1096, allocations: 157.7 kB / 377.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.464e-05/0.1097, allocations: 34.52 kB / 378 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.1097, allocations: 8.938 kB / 378 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.1097, allocations: 4 kB / 378 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1098, allocations: 34.5 kB / 378 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1098, allocations: 4 kB / 378 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001682/0.1099, allocations: 53.58 kB / 378.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.11, allocations: 59.34 kB / 378.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.1101, allocations: 97.86 kB / 378.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1101, allocations: 25.7 kB / 378.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.1102, allocations: 88.12 kB / 378.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1102, allocations: 7.844 kB / 378.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.1103, allocations: 17.72 kB / 378.4 MB, free: 480 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1104, allocations: 322.8 kB / 378.7 MB, free: 148 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.1104, allocations: 8 kB / 378.7 MB, free: 140 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.039e-05/0.1104, allocations: 21.72 kB / 378.7 MB, free: 112 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.1105, allocations: 21.72 kB / 378.7 MB, free: 84 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1105, allocations: 4 kB / 378.7 MB, free: 80 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.889e-05/0.1106, allocations: 61.53 kB / 378.8 MB, free: 12 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1106, allocations: 7.938 kB / 378.8 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1106, allocations: 4.031 kB / 378.8 MB, free: 0 / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2295/0.3401, allocations: 0.9844 kB / 378.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3403, allocations: 8.125 kB / 378.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.3403, allocations: 1.156 kB / 378.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.948e-05/0.3404, allocations: 2.109 kB / 378.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.3404, allocations: 2.031 kB / 378.8 MB, free: 12.91 MB / 318.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.003e-05/0.3405, allocations: 110.1 kB / 378.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.3405, allocations: 4.688 kB / 378.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.3405, allocations: 9.203 kB / 378.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3405, allocations: 3.578 kB / 378.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3406, allocations: 1.375 kB / 378.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3406, allocations: 0 / 378.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.353e-05/0.3407, allocations: 156.2 kB / 379.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3407, allocations: 1.344 kB / 379.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.3407, allocations: 7.125 kB / 379.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3408, allocations: 3.297 kB / 379.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3408, allocations: 5.281 kB / 379.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3408, allocations: 0 / 379.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3408, allocations: 1.5 kB / 379.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.341, allocations: 80.64 kB / 379.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.341, allocations: 82.2 kB / 379.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.341, allocations: 1.641 kB / 379.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.834e-05/0.341, allocations: 7.188 kB / 379.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.3411, allocations: 8.156 kB / 379.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.3411, allocations: 0 / 379.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.521e-05/0.3411, allocations: 82.25 kB / 379.4 MB, free: 12.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3411, allocations: 0 / 379.4 MB, free: 12.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.3415, allocations: 50.06 kB / 379.4 MB, free: 12.37 MB / 318.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002365/0.3417, allocations: 146 kB / 379.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.644e-05/0.3418, allocations: 24.69 kB / 379.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3418, allocations: 0 / 379.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.637e-05/0.3419, allocations: 13.31 kB / 379.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.342, allocations: 7.109 kB / 379.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.3423, allocations: 127.6 kB / 379.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.3424, allocations: 0.6837 MB / 380.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.3425, allocations: 7.25 kB / 380.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.3425, allocations: 10.7 kB / 380.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3425, allocations: 0 / 380.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of Templates: time 0.003534/0.3461, allocations: 1.077 MB / 381.5 MB, free: 11.41 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (rm -f Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1)