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.0008165/0.0008166, allocations: 89.64 kB / 16.65 MB, free: 6.59 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.000883/0.0008831, allocations: 182.2 kB / 17.56 MB, free: 6.203 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.613/1.613, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004993/0.0004993, allocations: 12.42 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.1003, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0007641/0.1011, allocations: 265.2 kB / 328.6 MB, free: 3.492 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.1033, allocations: 1.535 MB / 330.1 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.1033, allocations: 0 / 330.1 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.1033, allocations: 0 / 330.1 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005993/0.1039, allocations: 135.7 kB / 330.2 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.479e-05/0.104, allocations: 4 kB / 330.3 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.394e-05/0.1041, allocations: 19.86 kB / 330.3 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.013e-05/0.1041, allocations: 0 / 330.3 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.868e-05/0.1042, allocations: 4 kB / 330.3 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/0.1043, allocations: 11.94 kB / 330.3 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1043, allocations: 0 / 330.3 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.1047, allocations: 247.7 kB / 330.5 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.1047, allocations: 0 / 330.5 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.761e-05/0.1048, allocations: 41.62 kB / 330.6 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1051, allocations: 159.8 kB / 330.7 MB, free: 1.324 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1051, allocations: 0 / 330.7 MB, free: 1.324 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1051, allocations: 0 / 330.7 MB, free: 1.324 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1051, allocations: 0 / 330.7 MB, free: 1.324 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.0004908/0.1056, allocations: 367.7 kB / 331.1 MB, free: 0.918 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1056, allocations: 8.031 kB / 331.1 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.1057, allocations: 4.938 kB / 331.1 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1059, allocations: 168.3 kB / 331.3 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1059, allocations: 4.312 kB / 331.3 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1059, allocations: 4.375 kB / 331.3 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.106, allocations: 42 kB / 331.3 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.1061, allocations: 0 / 331.3 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1061, allocations: 0 / 331.3 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1061, allocations: 0 / 331.3 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.193e-05/0.1062, allocations: 7.984 kB / 331.3 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.1064, allocations: 169.7 kB / 331.5 MB, free: 436 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.656e-05/0.1065, allocations: 30.52 kB / 331.5 MB, free: 396 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.1065, allocations: 8.859 kB / 331.5 MB, free: 384 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.1065, allocations: 0 / 331.5 MB, free: 384 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1066, allocations: 42.58 kB / 331.6 MB, free: 332 kB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1066, allocations: 0 / 331.6 MB, free: 332 kB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001673/0.1067, allocations: 49.59 kB / 331.6 MB, free: 276 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1068, allocations: 59.34 kB / 331.7 MB, free: 204 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.1069, allocations: 97.86 kB / 331.8 MB, free: 96 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1069, allocations: 29.7 kB / 331.8 MB, free: 60 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.107, allocations: 84.14 kB / 331.9 MB, free: 15.97 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.107, allocations: 7.891 kB / 331.9 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.1071, allocations: 13.72 kB / 331.9 MB, free: 15.95 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1072, allocations: 318.8 kB / 332.2 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.1072, allocations: 4 kB / 332.2 MB, free: 15.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.1073, allocations: 25.7 kB / 332.2 MB, free: 15.59 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.872e-05/0.1073, allocations: 25.72 kB / 332.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1073, allocations: 0 / 332.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.732e-05/0.1074, allocations: 61.53 kB / 332.3 MB, free: 15.49 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1074, allocations: 10.59 kB / 332.3 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1075, allocations: 4 kB / 332.3 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1075, allocations: 0 / 332.3 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.1076, allocations: 15.97 kB / 332.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.1076, allocations: 3.984 kB / 332.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.1076, allocations: 0 / 332.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.1076, allocations: 0 / 332.4 MB, free: 15.46 MB / 286.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.178e-05/0.1077, allocations: 121.7 kB / 332.5 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.1077, allocations: 3.938 kB / 332.5 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.1078, allocations: 3.5 kB / 332.5 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1078, allocations: 4 kB / 332.5 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1078, allocations: 0 / 332.5 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1078, allocations: 4 kB / 332.5 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.108, allocations: 153.7 kB / 332.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.108, allocations: 0 / 332.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.204e-05/0.1081, allocations: 11.98 kB / 332.7 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1081, allocations: 8 kB / 332.7 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1081, allocations: 4 kB / 332.7 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1081, allocations: 0 / 332.7 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1081, allocations: 0 / 332.7 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.1083, allocations: 89.38 kB / 332.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.1083, allocations: 85.08 kB / 332.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1084, allocations: 0 / 332.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.742e-05/0.1084, allocations: 0 / 332.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.1084, allocations: 7.984 kB / 332.8 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1084, allocations: 4 kB / 332.8 MB, free: 14.87 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.911e-05/0.1085, allocations: 79.28 kB / 332.9 MB, free: 14.79 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1085, allocations: 0 / 332.9 MB, free: 14.79 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1087, allocations: 51.98 kB / 333 MB, free: 14.74 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.0002561/0.109, allocations: 155.3 kB / 333.1 MB, free: 14.58 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.713e-05/0.1091, allocations: 19.98 kB / 333.1 MB, free: 14.56 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1091, allocations: 0 / 333.1 MB, free: 14.56 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.1091, allocations: 7.938 kB / 333.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.1093, allocations: 4 kB / 333.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.1096, allocations: 142.7 kB / 333.3 MB, free: 14.38 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.1099, allocations: 0.681 MB / 334 MB, free: 13.67 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.996e-05/0.1099, allocations: 4 kB / 334 MB, free: 13.67 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.11, allocations: 11.44 kB / 334 MB, free: 13.66 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.11, allocations: 0 / 334 MB, free: 13.66 MB / 286.1 MB Notification: Performance of Templates: time 0.004435/0.1144, allocations: 1.05 MB / 335 MB, free: 12.61 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)