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.002094/0.002094, allocations: 112.5 kB / 16.62 MB, free: 6.949 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.001917/0.001917, allocations: 197.8 kB / 17.55 MB, free: 6.043 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.533/1.533, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001153/0.001153, allocations: 56.14 kB / 279.5 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1052, allocations: 46.63 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001779/0.107, allocations: 0.5875 MB / 326.7 MB, free: 4.188 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1088, allocations: 1.517 MB / 328.2 MB, free: 2.652 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.1089, allocations: 0 / 328.2 MB, free: 2.652 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.1089, allocations: 0 / 328.2 MB, free: 2.652 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005947/0.1095, allocations: 147.8 kB / 328.4 MB, free: 2.508 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.138e-05/0.1095, allocations: 0 / 328.4 MB, free: 2.508 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.919e-05/0.1096, allocations: 15.88 kB / 328.4 MB, free: 2.492 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.1096, allocations: 3.984 kB / 328.4 MB, free: 2.488 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.1097, allocations: 11.98 kB / 328.4 MB, free: 2.477 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.1098, allocations: 7.938 kB / 328.4 MB, free: 2.469 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1098, allocations: 0 / 328.4 MB, free: 2.469 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.1101, allocations: 247.7 kB / 328.7 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.1101, allocations: 3.938 kB / 328.7 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.1102, allocations: 7.938 kB / 328.7 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1104, allocations: 175.7 kB / 328.8 MB, free: 2.043 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1104, allocations: 3.938 kB / 328.9 MB, free: 2.039 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1104, allocations: 4 kB / 328.9 MB, free: 2.035 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1105, allocations: 0 / 328.9 MB, free: 2.035 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.0005011/0.111, allocations: 359.7 kB / 329.2 MB, free: 1.637 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.111, allocations: 8.031 kB / 329.2 MB, free: 1.629 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.111, allocations: 4.938 kB / 329.2 MB, free: 1.625 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1112, allocations: 164.4 kB / 329.4 MB, free: 1.426 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1112, allocations: 384 / 329.4 MB, free: 1.426 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.1112, allocations: 8.375 kB / 329.4 MB, free: 1.418 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.566e-05/0.1113, allocations: 42 kB / 329.4 MB, free: 1.371 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1113, allocations: 3.906 kB / 329.4 MB, free: 1.367 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.1114, allocations: 0 / 329.4 MB, free: 1.367 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1114, allocations: 0 / 329.4 MB, free: 1.367 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.773e-05/0.1114, allocations: 7.938 kB / 329.4 MB, free: 1.359 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.1116, allocations: 161.7 kB / 329.6 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.998e-05/0.1117, allocations: 30.61 kB / 329.6 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/0.1117, allocations: 16.86 kB / 329.6 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.1117, allocations: 0 / 329.6 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1118, allocations: 42.48 kB / 329.7 MB, free: 1.043 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1118, allocations: 0 / 329.7 MB, free: 1.043 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.000156/0.1119, allocations: 49.72 kB / 329.7 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.112, allocations: 51.41 kB / 329.8 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.895e-05/0.1121, allocations: 105.8 kB / 329.9 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.1121, allocations: 25.7 kB / 329.9 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.1121, allocations: 84.14 kB / 330 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1122, allocations: 15.75 kB / 330 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.1122, allocations: 21.7 kB / 330 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.1123, allocations: 318.8 kB / 330.3 MB, free: 340 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.1123, allocations: 0 / 330.3 MB, free: 340 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.1124, allocations: 25.7 kB / 330.4 MB, free: 308 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.459e-05/0.1124, allocations: 33.66 kB / 330.4 MB, free: 268 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1124, allocations: 0 / 330.4 MB, free: 268 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.912e-05/0.1125, allocations: 53.81 kB / 330.5 MB, free: 208 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1125, allocations: 11.88 kB / 330.5 MB, free: 196 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1125, allocations: 4 kB / 330.5 MB, free: 192 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1126, allocations: 0 / 330.5 MB, free: 192 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.1126, allocations: 11.94 kB / 330.5 MB, free: 180 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1127, allocations: 0 / 330.5 MB, free: 180 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.1127, allocations: 4 kB / 330.5 MB, free: 176 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.1127, allocations: 7.969 kB / 330.5 MB, free: 168 kB / 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 7.977e-05/0.1128, allocations: 117.8 kB / 330.6 MB, free: 40 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.1128, allocations: 3.938 kB / 330.6 MB, free: 36 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.1128, allocations: 3.5 kB / 330.6 MB, free: 24 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1128, allocations: 0 / 330.6 MB, free: 24 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1128, allocations: 0 / 330.6 MB, free: 24 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1129, allocations: 4 kB / 330.6 MB, free: 20 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.113, allocations: 157.6 kB / 330.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.113, allocations: 0 / 330.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.1131, allocations: 4 kB / 330.8 MB, free: 15.81 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1131, allocations: 7.938 kB / 330.8 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1131, allocations: 4 kB / 330.8 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1131, allocations: 0 / 330.8 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1131, allocations: 3.984 kB / 330.8 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.1132, allocations: 77.06 kB / 330.9 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.1133, allocations: 81.05 kB / 330.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1133, allocations: 4.031 kB / 331 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.782e-05/0.1133, allocations: 64 / 331 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.1134, allocations: 8.469 kB / 331 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1134, allocations: 0 / 331 MB, free: 15.59 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.28e-05/0.1134, allocations: 87.25 kB / 331 MB, free: 15.51 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1134, allocations: 0 / 331 MB, free: 15.51 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1137, allocations: 51.98 kB / 331.1 MB, free: 15.46 MB / 286.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.0002671/0.1139, allocations: 147.2 kB / 331.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.854e-05/0.1141, allocations: 27.92 kB / 331.3 MB, free: 15.28 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.1141, allocations: 4.062 kB / 331.3 MB, free: 15.27 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.496e-05/0.1141, allocations: 4 kB / 331.3 MB, free: 15.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.1142, allocations: 11.94 kB / 331.3 MB, free: 15.26 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.1145, allocations: 130.3 kB / 331.4 MB, free: 15.11 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.1148, allocations: 0.6768 MB / 332.1 MB, free: 14.4 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.115, allocations: 7.984 kB / 332.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.115, allocations: 11.44 kB / 332.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of SimCode: time 4.31e-07/0.115, allocations: 4 kB / 332.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of Templates: time 0.003515/0.1185, allocations: 1.07 MB / 333.2 MB, free: 13.31 MB / 286.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)