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.00121/0.00121, allocations: 111.6 kB / 17.06 MB, free: 5.812 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.001375/0.001375, allocations: 200 kB / 18 MB, free: 4.949 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.536/1.536, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001255/0.001255, allocations: 52.34 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.09801, allocations: 46.62 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002107/0.1002, allocations: 0.5266 MB / 375 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.1026, allocations: 1.52 MB / 376.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.1027, allocations: 0 / 376.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.1027, allocations: 0 / 376.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007812/0.1035, allocations: 171.4 kB / 376.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.861e-05/0.1036, allocations: 8 kB / 376.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.07e-05/0.1036, allocations: 11.94 kB / 376.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.246e-05/0.1037, allocations: 7.984 kB / 376.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.1038, allocations: 11.94 kB / 376.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.686e-05/0.1038, allocations: 7.938 kB / 376.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1038, allocations: 0 / 376.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.1043, allocations: 247.7 kB / 377 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.1043, allocations: 4 kB / 377 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.1043, allocations: 7.938 kB / 377 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.1046, allocations: 167.8 kB / 377.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1047, allocations: 4 kB / 377.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1047, allocations: 0 / 377.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1047, allocations: 0 / 377.2 MB, free: 1.867 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.0005396/0.1052, allocations: 359.5 kB / 377.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.1053, allocations: 12.02 kB / 377.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.1053, allocations: 12.84 kB / 377.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.1055, allocations: 168.3 kB / 377.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1055, allocations: 384 / 377.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.1056, allocations: 384 / 377.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1057, allocations: 50 kB / 377.8 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1057, allocations: 3.938 kB / 377.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1057, allocations: 0 / 377.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.1057, allocations: 0 / 377.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/0.1058, allocations: 7.984 kB / 377.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.106, allocations: 149.7 kB / 377.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.1061, allocations: 38.55 kB / 378 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.105e-05/0.1061, allocations: 12.86 kB / 378 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.1061, allocations: 4 kB / 378 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1062, allocations: 34.5 kB / 378 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1062, allocations: 4 kB / 378 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001606/0.1064, allocations: 49.69 kB / 378.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.1064, allocations: 59.33 kB / 378.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.1065, allocations: 97.86 kB / 378.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1065, allocations: 25.7 kB / 378.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.1066, allocations: 88.14 kB / 378.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.1066, allocations: 15.83 kB / 378.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.1067, allocations: 13.72 kB / 378.4 MB, free: 492 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1068, allocations: 314.8 kB / 378.7 MB, free: 168 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.1068, allocations: 4 kB / 378.7 MB, free: 164 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.46e-05/0.1069, allocations: 25.7 kB / 378.7 MB, free: 132 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.108e-05/0.1069, allocations: 26.09 kB / 378.7 MB, free: 100 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1069, allocations: 0 / 378.7 MB, free: 100 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001084/0.107, allocations: 69.52 kB / 378.8 MB, free: 24 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1071, allocations: 7.938 kB / 378.8 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1071, allocations: 0 / 378.8 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1071, allocations: 0 / 378.8 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.734e-05/0.1072, allocations: 8 kB / 378.8 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1072, allocations: 0 / 378.8 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.207/0.3142, allocations: 7.922 kB / 378.8 MB, free: 0 / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.3143, allocations: 2.312 kB / 378.8 MB, free: 12.97 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.188e-05/0.3144, allocations: 113.5 kB / 378.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.3145, allocations: 4.469 kB / 378.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.3145, allocations: 6.031 kB / 378.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3145, allocations: 0 / 378.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3145, allocations: 1.969 kB / 378.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3145, allocations: 0 / 378.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.3146, allocations: 156.4 kB / 379.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3147, allocations: 5.719 kB / 379.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.264e-05/0.3148, allocations: 9.109 kB / 379.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3148, allocations: 1.25 kB / 379.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3148, allocations: 0.875 kB / 379.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.3148, allocations: 6.953 kB / 379.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3148, allocations: 1.594 kB / 379.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.315, allocations: 75.48 kB / 379.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.315, allocations: 85.64 kB / 379.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.315, allocations: 6.172 kB / 379.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.315, allocations: 0.75 kB / 379.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.315, allocations: 2.078 kB / 379.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3151, allocations: 5.062 kB / 379.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.201e-05/0.3151, allocations: 83.62 kB / 379.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3151, allocations: 0 / 379.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000352/0.3155, allocations: 47.42 kB / 379.4 MB, free: 12.43 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.0002292/0.3157, allocations: 150.4 kB / 379.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.045e-05/0.3158, allocations: 19.25 kB / 379.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3158, allocations: 2.594 kB / 379.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.435e-05/0.3158, allocations: 10.88 kB / 379.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.316, allocations: 5.781 kB / 379.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.3162, allocations: 130.4 kB / 379.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.3163, allocations: 0.6826 MB / 380.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.3165, allocations: 3.484 kB / 380.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.3165, allocations: 9.406 kB / 380.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3165, allocations: 0 / 380.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of Templates: time 0.003857/0.3204, allocations: 1.086 MB / 381.5 MB, free: 11.47 MB / 318.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)