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.001128/0.001128, allocations: 94.81 kB / 16.3 MB, free: 5.996 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.001208/0.001208, allocations: 181 kB / 17.2 MB, free: 5.914 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.675/1.675, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.0004926/0.0004929, allocations: 8.219 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1133, allocations: 47.59 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.000736/0.114, allocations: 261.2 kB / 328 MB, free: 3.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.1165, allocations: 1.443 MB / 329.4 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.1165, allocations: 0 / 329.4 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.1166, allocations: 3.938 kB / 329.4 MB, free: 2.379 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006681/0.1172, allocations: 123.7 kB / 329.5 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.622e-05/0.1173, allocations: 4 kB / 329.5 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.774e-05/0.1173, allocations: 7.984 kB / 329.5 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.1174, allocations: 3.984 kB / 329.5 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/0.1174, allocations: 8 kB / 329.5 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.1175, allocations: 3.938 kB / 329.5 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1175, allocations: 8 kB / 329.6 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.1179, allocations: 215.7 kB / 329.8 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.118, allocations: 7.875 kB / 329.8 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.118, allocations: 29.7 kB / 329.8 MB, free: 1.969 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1182, allocations: 119.8 kB / 329.9 MB, free: 1.852 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1182, allocations: 0 / 329.9 MB, free: 1.852 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1182, allocations: 0 / 329.9 MB, free: 1.852 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1182, allocations: 0 / 329.9 MB, free: 1.852 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.0004394/0.1187, allocations: 355.5 kB / 330.3 MB, free: 1.457 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1188, allocations: 12.03 kB / 330.3 MB, free: 1.445 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.1188, allocations: 8 kB / 330.3 MB, free: 1.438 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.119, allocations: 159.1 kB / 330.4 MB, free: 1.242 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.119, allocations: 7.953 kB / 330.4 MB, free: 1.234 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1191, allocations: 0 / 330.4 MB, free: 1.234 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.819e-05/0.1192, allocations: 41.62 kB / 330.5 MB, free: 1.188 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1192, allocations: 0 / 330.5 MB, free: 1.188 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1192, allocations: 0 / 330.5 MB, free: 1.188 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1192, allocations: 0 / 330.5 MB, free: 1.188 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.001e-05/0.1193, allocations: 11.98 kB / 330.5 MB, free: 1.176 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.1195, allocations: 157.7 kB / 330.7 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.531e-05/0.1196, allocations: 30.58 kB / 330.7 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.1196, allocations: 3.953 kB / 330.7 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.1196, allocations: 38.44 kB / 330.7 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1197, allocations: 0 / 330.7 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001695/0.1198, allocations: 49.69 kB / 330.8 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1199, allocations: 55.41 kB / 330.8 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.12, allocations: 105.8 kB / 330.9 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.12, allocations: 25.7 kB / 331 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.1201, allocations: 84.14 kB / 331 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.1201, allocations: 7.891 kB / 331 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.1201, allocations: 4 kB / 331.1 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1203, allocations: 314.8 kB / 331.4 MB, free: 208 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.285e-05/0.1203, allocations: 4 kB / 331.4 MB, free: 204 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.1205, allocations: 29.64 kB / 331.4 MB, free: 168 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.014e-05/0.1205, allocations: 8.375 kB / 331.4 MB, free: 160 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1205, allocations: 0 / 331.4 MB, free: 160 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.982e-05/0.1206, allocations: 61.58 kB / 331.5 MB, free: 92 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1206, allocations: 7.953 kB / 331.5 MB, free: 84 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1207, allocations: 0 / 331.5 MB, free: 84 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1207, allocations: 0 / 331.5 MB, free: 84 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1208, allocations: 11.94 kB / 331.5 MB, free: 72 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1208, allocations: 32 / 331.5 MB, free: 72 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.1208, allocations: 12 kB / 331.5 MB, free: 60 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.1209, allocations: 0 / 331.5 MB, free: 60 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.1211, allocations: 117.7 kB / 331.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.1211, allocations: 0 / 331.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.1211, allocations: 15.44 kB / 331.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1211, allocations: 0 / 331.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1211, allocations: 0 / 331.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1211, allocations: 0 / 331.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.1213, allocations: 157.7 kB / 331.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1213, allocations: 4 kB / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.1214, allocations: 8 kB / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1214, allocations: 0 / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.1214, allocations: 4 kB / 331.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1214, allocations: 3.953 kB / 331.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1215, allocations: 0 / 331.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.1216, allocations: 85.08 kB / 331.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.1217, allocations: 81.05 kB / 332 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1217, allocations: 12.09 kB / 332 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.1217, allocations: 0 / 332 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.1217, allocations: 3.953 kB / 332 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1217, allocations: 0 / 332 MB, free: 15.47 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.673e-05/0.1218, allocations: 83.27 kB / 332.1 MB, free: 15.39 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1218, allocations: 0 / 332.1 MB, free: 15.39 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003147/0.1221, allocations: 52 kB / 332.1 MB, free: 15.34 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 (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.000287/0.1224, allocations: 151.2 kB / 332.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1225, allocations: 19.94 kB / 332.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1225, allocations: 4 kB / 332.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/0.1226, allocations: 7.984 kB / 332.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.1227, allocations: 4 kB / 332.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.123, allocations: 126.9 kB / 332.4 MB, free: 15 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.1233, allocations: 0.6809 MB / 333.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.12e-05/0.1234, allocations: 8.062 kB / 333.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.1234, allocations: 7.438 kB / 333.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1234, allocations: 0 / 333.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of Templates: time 0.003898/0.1273, allocations: 1.069 MB / 334.2 MB, free: 13.2 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: