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.01029/0.01029, allocations: 98.14 kB / 15.73 MB, free: 6.039 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.001472/0.001472, allocations: 196.8 kB / 16.68 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.569/1.569, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.002181/0.002181, allocations: 46.16 kB / 326.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1227, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001466/0.1242, allocations: 0.535 MB / 373.7 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.126, allocations: 1.505 MB / 375.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.126, allocations: 4 kB / 375.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.126, allocations: 3.938 kB / 375.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005709/0.1266, allocations: 175.4 kB / 375.4 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.2e-05/0.1267, allocations: 4 kB / 375.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.351e-05/0.1267, allocations: 19.91 kB / 375.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.1268, allocations: 4 kB / 375.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.503e-05/0.1268, allocations: 7.938 kB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.187e-05/0.1269, allocations: 7.984 kB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.1269, allocations: 4 kB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.1272, allocations: 235.7 kB / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.1273, allocations: 11.92 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.1273, allocations: 11.92 kB / 375.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1275, allocations: 167.7 kB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1276, allocations: 0 / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1276, allocations: 0 / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1276, allocations: 0 / 375.9 MB, free: 14.61 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.0004027/0.128, allocations: 355.6 kB / 376.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.128, allocations: 8.031 kB / 376.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.1281, allocations: 8.844 kB / 376.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1282, allocations: 176.3 kB / 376.4 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1282, allocations: 4.375 kB / 376.4 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.1282, allocations: 384 / 376.4 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.772e-05/0.1283, allocations: 34.02 kB / 376.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.1283, allocations: 0 / 376.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1284, allocations: 4 kB / 376.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1284, allocations: 3.984 kB / 376.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.587e-05/0.1284, allocations: 15.98 kB / 376.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.1286, allocations: 153.7 kB / 376.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.44e-05/0.1287, allocations: 42.55 kB / 376.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.1287, allocations: 8.859 kB / 376.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.1287, allocations: 3.938 kB / 376.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1288, allocations: 38.5 kB / 376.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1288, allocations: 0 / 376.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001595/0.1289, allocations: 45.78 kB / 376.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.129, allocations: 55.41 kB / 376.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.599e-05/0.1291, allocations: 105.8 kB / 376.9 MB, free: 13.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1291, allocations: 29.7 kB / 376.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.1291, allocations: 80.14 kB / 377 MB, free: 13.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.1292, allocations: 15.75 kB / 377 MB, free: 13.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.1292, allocations: 13.72 kB / 377 MB, free: 13.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.1293, allocations: 322.8 kB / 377.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.1293, allocations: 4 kB / 377.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.583e-05/0.1294, allocations: 21.72 kB / 377.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.137e-05/0.1294, allocations: 29.7 kB / 377.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1294, allocations: 0 / 377.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.778e-05/0.1295, allocations: 53.64 kB / 377.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1295, allocations: 13.02 kB / 377.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1295, allocations: 4 kB / 377.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1295, allocations: 0 / 377.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.1296, allocations: 8 kB / 377.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1296, allocations: 4.031 kB / 377.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.1297, allocations: 3.906 kB / 377.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-06/0.1297, allocations: 3.938 kB / 377.5 MB, free: 12.75 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 7.101e-05/0.1297, allocations: 117.8 kB / 377.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.1298, allocations: 3.938 kB / 377.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.99e-05/0.1298, allocations: 3.5 kB / 377.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1298, allocations: 7.984 kB / 377.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1298, allocations: 0 / 377.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1298, allocations: 0 / 377.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.373e-05/0.1299, allocations: 158.1 kB / 377.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1299, allocations: 0 / 377.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.13, allocations: 8 kB / 377.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1301, allocations: 3.938 kB / 377.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1301, allocations: 0 / 377.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1301, allocations: 0 / 377.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1301, allocations: 0 / 377.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.1302, allocations: 85.11 kB / 377.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.1303, allocations: 101 kB / 378 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.1303, allocations: 0 / 378 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.771e-05/0.1303, allocations: 0 / 378 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.1303, allocations: 0 / 378 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1303, allocations: 4 kB / 378 MB, free: 12.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.698e-05/0.1304, allocations: 83.28 kB / 378.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1304, allocations: 0 / 378.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.1307, allocations: 51.98 kB / 378.1 MB, free: 12.04 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.0002717/0.1309, allocations: 155.2 kB / 378.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.557e-05/0.131, allocations: 16 kB / 378.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.131, allocations: 0 / 378.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.622e-05/0.1311, allocations: 11.92 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.0001463/0.1312, allocations: 4 kB / 378.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.1315, allocations: 126.2 kB / 378.4 MB, free: 11.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.1319, allocations: 0.6768 MB / 379.1 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.969e-05/0.132, allocations: 8.062 kB / 379.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.864e-05/0.132, allocations: 7.438 kB / 379.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.132, allocations: 0 / 379.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of Templates: time 0.003474/0.1355, allocations: 1.082 MB / 380.2 MB, free: 9.891 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)