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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 195.8 kB / 16.53 MB, free: 6.656 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.546/1.546, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.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.001335/0.001336, allocations: 59.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2538, allocations: 46.64 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001932/0.2558, allocations: 0.5211 MB / 325.8 MB, free: 1.453 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.2577, allocations: 1.512 MB / 327.3 MB, free: 248 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.2578, allocations: 0 / 327.3 MB, free: 248 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.2578, allocations: 0 / 327.3 MB, free: 248 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005912/0.2584, allocations: 172.5 kB / 327.5 MB, free: 140 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.367e-05/0.2584, allocations: 5.109 kB / 327.5 MB, free: 136 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.2585, allocations: 18.72 kB / 327.5 MB, free: 124 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.2585, allocations: 6.266 kB / 327.5 MB, free: 120 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.2586, allocations: 3.312 kB / 327.5 MB, free: 120 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.253e-05/0.2586, allocations: 7.719 kB / 327.6 MB, free: 116 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.2587, allocations: 0 / 327.6 MB, free: 116 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.259, allocations: 251.2 kB / 327.8 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.2591, allocations: 5.156 kB / 327.8 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.2591, allocations: 6.312 kB / 327.8 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.2594, allocations: 169 kB / 328 MB, free: 15.88 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2594, allocations: 0 / 328 MB, free: 15.88 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.2594, allocations: 1.375 kB / 328 MB, free: 15.88 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2594, allocations: 7.875 kB / 328 MB, free: 15.87 MB / 270.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.000485/0.2599, allocations: 357.1 kB / 328.3 MB, free: 15.49 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.26, allocations: 14.25 kB / 328.3 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.26, allocations: 6.453 kB / 328.4 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.2602, allocations: 165.8 kB / 328.5 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2602, allocations: 5.938 kB / 328.5 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.2602, allocations: 9.766 kB / 328.5 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.61e-05/0.2603, allocations: 38.22 kB / 328.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2603, allocations: 0 / 328.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2603, allocations: 0 / 328.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2603, allocations: 0.8125 kB / 328.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.859e-05/0.2604, allocations: 8.812 kB / 328.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.2606, allocations: 159.5 kB / 328.7 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.2607, allocations: 37.36 kB / 328.8 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.2607, allocations: 8.609 kB / 328.8 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.2607, allocations: 0 / 328.8 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.2607, allocations: 35.59 kB / 328.8 MB, free: 14.94 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.2607, allocations: 0 / 328.8 MB, free: 14.94 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001525/0.2609, allocations: 54.44 kB / 328.9 MB, free: 14.89 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.2609, allocations: 60.73 kB / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.261, allocations: 99.05 kB / 329 MB, free: 14.72 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.2611, allocations: 26.95 kB / 329 MB, free: 14.69 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.2611, allocations: 84.14 kB / 329.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.2612, allocations: 10.36 kB / 329.1 MB, free: 14.6 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.2612, allocations: 17.5 kB / 329.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2613, allocations: 312.1 kB / 329.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.2614, allocations: 11.09 kB / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.2614, allocations: 19.7 kB / 329.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.183e-05/0.2615, allocations: 27.12 kB / 329.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2615, allocations: 1.5 kB / 329.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.083e-05/0.2616, allocations: 57.81 kB / 329.6 MB, free: 14.17 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2616, allocations: 8.969 kB / 329.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2616, allocations: 1.062 kB / 329.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.2616, allocations: 9.125 kB / 329.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.2617, allocations: 11.58 kB / 329.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2617, allocations: 0 / 329.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.2618, allocations: 1.531 kB / 329.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.2618, allocations: 9.266 kB / 329.6 MB, free: 14.14 MB / 270.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 9.942e-05/0.2619, allocations: 112.5 kB / 329.7 MB, free: 14.03 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.2619, allocations: 4.969 kB / 329.7 MB, free: 14.02 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.2619, allocations: 8.469 kB / 329.7 MB, free: 14.01 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.262, allocations: 3.984 kB / 329.7 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.262, allocations: 9.125 kB / 329.8 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.262, allocations: 0 / 329.8 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.2621, allocations: 154.4 kB / 329.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.2621, allocations: 1.406 kB / 329.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.2622, allocations: 5.188 kB / 329.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2622, allocations: 3.938 kB / 329.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2622, allocations: 5.203 kB / 329.9 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2622, allocations: 128 / 329.9 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2622, allocations: 5.156 kB / 329.9 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.2624, allocations: 85 kB / 330 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.2625, allocations: 82.42 kB / 330.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.2625, allocations: 1.438 kB / 330.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.767e-05/0.2625, allocations: 0 / 330.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.2625, allocations: 5.453 kB / 330.1 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2626, allocations: 1.344 kB / 330.1 MB, free: 13.6 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.549e-05/0.2626, allocations: 83 kB / 330.2 MB, free: 13.52 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2626, allocations: 0 / 330.2 MB, free: 13.52 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.2629, allocations: 52.11 kB / 330.2 MB, free: 13.51 MB / 270.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.0002619/0.2632, allocations: 148.7 kB / 330.4 MB, free: 13.41 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 9.704e-05/0.2633, allocations: 23.61 kB / 330.4 MB, free: 13.39 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2633, allocations: 1.5 kB / 330.4 MB, free: 13.39 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 2.281e-05/0.2633, allocations: 8.375 kB / 330.4 MB, free: 13.39 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.2635, allocations: 1.281 kB / 330.4 MB, free: 13.39 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.2637, allocations: 140.1 kB / 330.5 MB, free: 13.25 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.264, allocations: 0.6819 MB / 331.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.718e-05/0.2641, allocations: 6.578 kB / 331.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.2641, allocations: 8.844 kB / 331.2 MB, free: 12.54 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2641, allocations: 1.125 kB / 331.2 MB, free: 12.54 MB / 270.1 MB Notification: Performance of Templates: time 0.003441/0.2676, allocations: 1.074 MB / 332.3 MB, free: 11.98 MB / 270.1 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)