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.009343/0.009343, allocations: 101.2 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.001528/0.001528, allocations: 186.7 kB / 16.67 MB, free: 5.922 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.596/1.596, allocations: 205.1 MB / 222.5 MB, free: 12.19 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.001253/0.001253, allocations: 48.41 kB / 326.5 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1017, allocations: 46.61 MB / 373.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001567/0.1033, allocations: 0.5421 MB / 373.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1051, allocations: 1.52 MB / 375.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.1051, allocations: 4 kB / 375.2 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.1051, allocations: 0 / 375.2 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006581/0.1058, allocations: 167.5 kB / 375.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.321e-05/0.1058, allocations: 3.938 kB / 375.4 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.063e-05/0.1059, allocations: 15.94 kB / 375.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.106, allocations: 7.969 kB / 375.4 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.82e-05/0.106, allocations: 7.938 kB / 375.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.1061, allocations: 15.94 kB / 375.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1061, allocations: 0 / 375.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003468/0.1065, allocations: 239.7 kB / 375.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.1065, allocations: 3.938 kB / 375.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.1065, allocations: 11.94 kB / 375.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.1068, allocations: 163.6 kB / 375.8 MB, free: 1.844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1068, allocations: 0 / 375.8 MB, free: 1.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1068, allocations: 0 / 375.8 MB, free: 1.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1068, allocations: 3.938 kB / 375.9 MB, free: 1.84 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.0004684/0.1073, allocations: 371.1 kB / 376.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1073, allocations: 8.031 kB / 376.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.1074, allocations: 0.9375 kB / 376.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.1075, allocations: 172.4 kB / 376.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.1075, allocations: 384 / 376.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.1076, allocations: 4.328 kB / 376.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.531e-05/0.1077, allocations: 38 kB / 376.4 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1077, allocations: 7.938 kB / 376.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1077, allocations: 0 / 376.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1077, allocations: 0 / 376.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.804e-05/0.1078, allocations: 19.92 kB / 376.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.108, allocations: 153.7 kB / 376.6 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.094e-05/0.108, allocations: 38.56 kB / 376.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.1081, allocations: 8.859 kB / 376.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.1081, allocations: 0 / 376.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1081, allocations: 42.58 kB / 376.7 MB, free: 0.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 2.274e-06/0.1081, allocations: 4 kB / 376.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001634/0.1083, allocations: 53.62 kB / 376.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.1083, allocations: 51.41 kB / 376.8 MB, free: 0.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.1084, allocations: 97.86 kB / 376.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1085, allocations: 25.7 kB / 376.9 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.1085, allocations: 84.14 kB / 377 MB, free: 496 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.1085, allocations: 15.83 kB / 377 MB, free: 480 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.1086, allocations: 17.72 kB / 377 MB, free: 456 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1087, allocations: 318.8 kB / 377.4 MB, free: 128 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.1087, allocations: 4 kB / 377.4 MB, free: 124 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.631e-05/0.1088, allocations: 25.7 kB / 377.4 MB, free: 92 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.859e-05/0.1089, allocations: 25.66 kB / 377.4 MB, free: 60 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1089, allocations: 0 / 377.4 MB, free: 60 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.2052/0.3141, allocations: 54.55 kB / 377.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.3142, allocations: 8.969 kB / 377.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3142, allocations: 0.7812 kB / 377.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.3142, allocations: 1.453 kB / 377.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3143, allocations: 13.3 kB / 377.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3144, allocations: 1.375 kB / 377.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.554e-05/0.3144, allocations: 0 / 377.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.3144, allocations: 2.812 kB / 377.5 MB, free: 12.91 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.331e-05/0.3145, allocations: 118.8 kB / 377.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.3145, allocations: 6.484 kB / 377.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.3146, allocations: 5.609 kB / 377.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3146, allocations: 2.594 kB / 377.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3146, allocations: 0.875 kB / 377.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.3146, allocations: 0 / 377.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.676e-05/0.3147, allocations: 158.8 kB / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3147, allocations: 0.75 kB / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/0.3148, allocations: 10.75 kB / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3148, allocations: 3.812 kB / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3148, allocations: 5.094 kB / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3148, allocations: 0 / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3148, allocations: 3.219 kB / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.3149, allocations: 84.3 kB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.315, allocations: 78.86 kB / 378 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.315, allocations: 1.547 kB / 378 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.805e-05/0.315, allocations: 0 / 378 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.315, allocations: 6.438 kB / 378 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.315, allocations: 1.25 kB / 378 MB, free: 12.44 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.338e-05/0.3151, allocations: 87.72 kB / 378 MB, free: 12.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3151, allocations: 0 / 378 MB, free: 12.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000359/0.3154, allocations: 52.97 kB / 378.1 MB, free: 12.37 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.0002494/0.3157, allocations: 150.6 kB / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.061e-05/0.3158, allocations: 24.2 kB / 378.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3158, allocations: 0 / 378.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.3158, allocations: 6.641 kB / 378.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.316, allocations: 9.125 kB / 378.3 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.3162, allocations: 124.8 kB / 378.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.708e-05/0.3163, allocations: 0.6824 MB / 379.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.3164, allocations: 4.625 kB / 379.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.3165, allocations: 11.88 kB / 379.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3165, allocations: 0 / 379.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of Templates: time 0.003481/0.3199, allocations: 1.081 MB / 380.2 MB, free: 11.39 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)