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.006776/0.006776, allocations: 99.64 kB / 15.73 MB, free: 6.027 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.001369/0.001369, allocations: 186.2 kB / 16.67 MB, free: 5.969 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.534/1.534, allocations: 205.1 MB / 222.6 MB, free: 4.398 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.001441/0.001441, allocations: 50.42 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.109, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002015/0.111, allocations: 0.5195 MB / 373.7 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1134, allocations: 1.513 MB / 375.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.1134, allocations: 4 kB / 375.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.1135, allocations: 0 / 375.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007971/0.1143, allocations: 183.4 kB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.191e-05/0.1143, allocations: 7.938 kB / 375.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.471e-05/0.1144, allocations: 11.97 kB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.1145, allocations: 4 kB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.269e-05/0.1145, allocations: 15.88 kB / 375.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.1146, allocations: 3.984 kB / 375.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1146, allocations: 7.938 kB / 375.4 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.1151, allocations: 239.7 kB / 375.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.1151, allocations: 4 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.1152, allocations: 11.91 kB / 375.7 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.1156, allocations: 171.7 kB / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1156, allocations: 0 / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1156, allocations: 0 / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.1156, allocations: 0 / 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.0005456/0.1162, allocations: 355.6 kB / 376.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.1162, allocations: 8.031 kB / 376.2 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1163, allocations: 8.844 kB / 376.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.1164, allocations: 168.4 kB / 376.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1165, allocations: 4.375 kB / 376.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1165, allocations: 384 / 376.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1166, allocations: 38.02 kB / 376.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1166, allocations: 0 / 376.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1166, allocations: 3.938 kB / 376.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1167, allocations: 0 / 376.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.331e-05/0.1167, allocations: 11.98 kB / 376.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/0.1169, allocations: 153.7 kB / 376.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.977e-05/0.117, allocations: 34.58 kB / 376.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/0.1171, allocations: 16.94 kB / 376.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1171, allocations: 3.938 kB / 376.6 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.1171, allocations: 42.44 kB / 376.7 MB, free: 13.6 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.1171, allocations: 0 / 376.7 MB, free: 13.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001979/0.1173, allocations: 45.69 kB / 376.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.1174, allocations: 55.41 kB / 376.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.1175, allocations: 105.8 kB / 376.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1175, allocations: 25.7 kB / 376.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.1176, allocations: 80.14 kB / 377 MB, free: 13.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.1176, allocations: 19.75 kB / 377 MB, free: 13.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.1176, allocations: 17.72 kB / 377 MB, free: 13.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1178, allocations: 314.8 kB / 377.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.1178, allocations: 4 kB / 377.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/0.1178, allocations: 21.72 kB / 377.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.144e-05/0.1179, allocations: 34.03 kB / 377.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1179, allocations: 3.984 kB / 377.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001238/0.118, allocations: 53.62 kB / 377.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1181, allocations: 7.938 kB / 377.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1181, allocations: 7.984 kB / 377.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1181, allocations: 0 / 377.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.1182, allocations: 8 kB / 377.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1182, allocations: 7.969 kB / 377.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.1182, allocations: 3.906 kB / 377.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1183, allocations: 0 / 377.5 MB, free: 12.73 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 9.279e-05/0.1184, allocations: 113.8 kB / 377.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.1184, allocations: 3.938 kB / 377.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.1184, allocations: 3.5 kB / 377.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1184, allocations: 4 kB / 377.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1184, allocations: 3.984 kB / 377.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1184, allocations: 0 / 377.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.1186, allocations: 157.7 kB / 377.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1186, allocations: 0 / 377.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.798e-05/0.1187, allocations: 11.94 kB / 377.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.1187, allocations: 3.938 kB / 377.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1187, allocations: 4 kB / 377.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1187, allocations: 0 / 377.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1187, allocations: 0 / 377.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.1189, allocations: 73.06 kB / 377.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.1189, allocations: 97.03 kB / 378 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.119, allocations: 0 / 378 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.015e-05/0.119, allocations: 4.125 kB / 378 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.119, allocations: 0 / 378 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.119, allocations: 8 kB / 378 MB, free: 12.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.882e-05/0.1191, allocations: 79.28 kB / 378 MB, free: 12.08 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1191, allocations: 0 / 378 MB, free: 12.08 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.1194, allocations: 55.98 kB / 378.1 MB, free: 12.02 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.0002806/0.1197, allocations: 147.2 kB / 378.2 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.367e-05/0.1198, allocations: 23.92 kB / 378.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1198, allocations: 0 / 378.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.371e-05/0.1198, allocations: 4 kB / 378.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.12, allocations: 11.98 kB / 378.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.1203, allocations: 130.2 kB / 378.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1205, allocations: 0.6768 MB / 379.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.1206, allocations: 8.062 kB / 379.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.1207, allocations: 7.438 kB / 379.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1207, allocations: 0 / 379.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of Templates: time 0.004072/0.1247, allocations: 1.097 MB / 380.2 MB, free: 9.859 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)