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.008205/0.008205, allocations: 98.72 kB / 15.73 MB, free: 6.004 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.001408/0.001408, allocations: 192.8 kB / 16.67 MB, free: 5.93 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.679/1.679, allocations: 205.1 MB / 222.6 MB, free: 4.453 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.001341/0.001341, allocations: 51.28 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.09985, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001857/0.1018, allocations: 0.5233 MB / 373.7 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1038, allocations: 1.52 MB / 375.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.1039, allocations: 0 / 375.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.104, allocations: 3.938 kB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000887/0.1049, allocations: 183.4 kB / 375.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.118e-05/0.1049, allocations: 0 / 375.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.778e-05/0.105, allocations: 15.98 kB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.58e-05/0.105, allocations: 0 / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/0.1051, allocations: 11.88 kB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.1052, allocations: 7.984 kB / 375.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1052, allocations: 0 / 375.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.1056, allocations: 247.7 kB / 375.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.1056, allocations: 4 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.1057, allocations: 7.938 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.106, allocations: 175.5 kB / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.106, allocations: 0 / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.106, allocations: 0 / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.106, allocations: 4 kB / 375.9 MB, free: 14.59 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.0004545/0.1065, allocations: 363.1 kB / 376.2 MB, free: 14.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1065, allocations: 8.031 kB / 376.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.1066, allocations: 0.9375 kB / 376.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.1067, allocations: 172.4 kB / 376.4 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1068, allocations: 384 / 376.4 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1068, allocations: 8.328 kB / 376.4 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.1069, allocations: 45.94 kB / 376.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1069, allocations: 0 / 376.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1069, allocations: 0 / 376.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.107, allocations: 0 / 376.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.062e-05/0.107, allocations: 7.984 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.1072, allocations: 161.7 kB / 376.6 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.266e-05/0.1073, allocations: 30.58 kB / 376.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.1074, allocations: 12.89 kB / 376.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.1074, allocations: 7.922 kB / 376.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1074, allocations: 38.5 kB / 376.7 MB, free: 13.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 4.328e-06/0.1074, allocations: 3.984 kB / 376.7 MB, free: 13.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001904/0.1076, allocations: 45.69 kB / 376.7 MB, free: 13.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1077, allocations: 51.41 kB / 376.8 MB, free: 13.47 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1078, allocations: 101.9 kB / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1078, allocations: 29.7 kB / 376.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.1079, allocations: 88.12 kB / 377 MB, free: 13.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.108, allocations: 11.84 kB / 377 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.108, allocations: 17.72 kB / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1082, allocations: 310.8 kB / 377.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.1082, allocations: 15.92 kB / 377.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-05/0.1083, allocations: 21.72 kB / 377.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.1083, allocations: 25.72 kB / 377.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1083, allocations: 0 / 377.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001063/0.1084, allocations: 57.62 kB / 377.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1085, allocations: 7.938 kB / 377.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1085, allocations: 0 / 377.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1085, allocations: 0 / 377.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.1086, allocations: 11.98 kB / 377.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1086, allocations: 0 / 377.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.1087, allocations: 15.97 kB / 377.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.1087, allocations: 0 / 377.5 MB, free: 12.72 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 0.0001036/0.1088, allocations: 109.8 kB / 377.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.1088, allocations: 7.891 kB / 377.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.1088, allocations: 7.5 kB / 377.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1088, allocations: 0 / 377.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.1089, allocations: 0 / 377.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1089, allocations: 7.938 kB / 377.6 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.109, allocations: 157.7 kB / 377.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.109, allocations: 4 kB / 377.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.1091, allocations: 7.984 kB / 377.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.1091, allocations: 3.938 kB / 377.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1091, allocations: 4 kB / 377.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.1091, allocations: 4.125 kB / 377.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1091, allocations: 3.938 kB / 377.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.1093, allocations: 73.12 kB / 377.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.1093, allocations: 85 kB / 378 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.1094, allocations: 8.078 kB / 378 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.731e-05/0.1094, allocations: 4 kB / 378 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.1094, allocations: 480 / 378 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.1094, allocations: 0 / 378 MB, free: 12.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.936e-05/0.1095, allocations: 83.27 kB / 378.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1095, allocations: 3.938 kB / 378.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.1098, allocations: 55.86 kB / 378.1 MB, free: 12 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.0003073/0.1101, allocations: 147.1 kB / 378.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.1102, allocations: 23.98 kB / 378.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1102, allocations: 0 / 378.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-05/0.1102, allocations: 7.938 kB / 378.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.1104, allocations: 7.938 kB / 378.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.1107, allocations: 129.9 kB / 378.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.1111, allocations: 0.6768 MB / 379.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.1112, allocations: 8.062 kB / 379.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.1112, allocations: 7.438 kB / 379.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1112, allocations: 0 / 379.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of Templates: time 0.003642/0.1149, allocations: 1.07 MB / 380.2 MB, free: 9.867 MB / 318.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)