Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 116.2 kB / 17.83 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 205.2 kB / 20.78 MB, free: 2.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 207.6 MB / 231.2 MB, free: 4.129 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.5864/0.5864, allocations: 104 MB / 387 MB, free: 13.92 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo) 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR") translateModel(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 71.89 kB / 0.5401 GB, free: 1.379 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1874, allocations: 75.95 MB / 0.6143 GB, free: 5.352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003808/0.1912, allocations: 2.065 MB / 0.6163 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004559/0.1916, allocations: 155.7 kB / 0.6165 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.1917, allocations: 0 / 0.6165 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.1919, allocations: 19.73 kB / 0.6165 GB, free: 3.094 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.192, allocations: 31.67 kB / 0.6165 GB, free: 3.062 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.1922, allocations: 59.94 kB / 0.6166 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.1925, allocations: 183.9 kB / 0.6168 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.1927, allocations: 69.22 kB / 0.6168 GB, free: 2.754 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.405e-05/0.1928, allocations: 67.66 kB / 0.6169 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1929, allocations: 71.62 kB / 0.617 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.1929, allocations: 16 kB / 0.617 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.523e-05/0.1929, allocations: 20 kB / 0.617 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.193, allocations: 43.83 kB / 0.617 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.493e-05/0.1931, allocations: 87.42 kB / 0.6171 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.1934, allocations: 203.1 kB / 0.6173 GB, free: 2.254 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.1934, allocations: 0 / 0.6173 GB, free: 2.254 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1934, allocations: 4 kB / 0.6173 GB, free: 2.25 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.1934, allocations: 0 / 0.6173 GB, free: 2.25 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008147/0.1942, allocations: 494.5 kB / 0.6178 GB, free: 1.719 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.1943, allocations: 12.03 kB / 0.6178 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.1943, allocations: 20.8 kB / 0.6178 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.1947, allocations: 240.9 kB / 0.618 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1947, allocations: 12.38 kB / 0.6181 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.013e-05/0.1948, allocations: 16.38 kB / 0.6181 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.1951, allocations: 160.5 kB / 0.6182 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1951, allocations: 0 / 0.6182 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.1951, allocations: 4 kB / 0.6182 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.1951, allocations: 11.88 kB / 0.6182 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.1953, allocations: 87.95 kB / 0.6183 GB, free: 1.109 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.1964, allocations: 0.7343 MB / 0.619 GB, free: 312 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.1967, allocations: 114.6 kB / 0.6191 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1968, allocations: 40.84 kB / 0.6192 GB, free: 144 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.1968, allocations: 4 kB / 0.6192 GB, free: 140 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1968, allocations: 42.5 kB / 0.6192 GB, free: 88 kB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1968, allocations: 0 / 0.6192 GB, free: 88 kB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004369/0.1973, allocations: 157.7 kB / 0.6194 GB, free: 15.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1973, allocations: 55.41 kB / 0.6194 GB, free: 15.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.1975, allocations: 201.8 kB / 0.6196 GB, free: 15.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.1976, allocations: 29.7 kB / 0.6197 GB, free: 15.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1977, allocations: 135.9 kB / 0.6198 GB, free: 15.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.1977, allocations: 47.64 kB / 0.6198 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.1978, allocations: 25.72 kB / 0.6199 GB, free: 15.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.198, allocations: 330.8 kB / 0.6202 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.485e-05/0.1981, allocations: 35.98 kB / 0.6202 GB, free: 15.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.1982, allocations: 66.5 kB / 0.6203 GB, free: 14.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/0.1988, allocations: 194.1 kB / 0.6205 GB, free: 14.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1988, allocations: 7.938 kB / 0.6205 GB, free: 14.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002877/0.1991, allocations: 145.5 kB / 0.6206 GB, free: 14.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1991, allocations: 4 kB / 0.6206 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1991, allocations: 4 kB / 0.6206 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1992, allocations: 0 / 0.6206 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1993, allocations: 27.92 kB / 0.6206 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1993, allocations: 0 / 0.6206 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.458e-05/0.1994, allocations: 11.89 kB / 0.6206 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1994, allocations: 12.05 kB / 0.6207 GB, free: 14.55 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: reducedOrderSFR.firstOrder.y:VARIABLE(flow=false start = reducedOrderSFR.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (reducedOrderSFR.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001988/0.1996, allocations: 133.7 kB / 0.6208 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.1996, allocations: 19.89 kB / 0.6208 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.1997, allocations: 21.41 kB / 0.6208 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1997, allocations: 7.938 kB / 0.6208 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1997, allocations: 0 / 0.6208 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1997, allocations: 0 / 0.6208 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.2, allocations: 265.4 kB / 0.6211 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2, allocations: 0 / 0.6211 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.2001, allocations: 20 kB / 0.6211 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2001, allocations: 0 / 0.6211 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.2001, allocations: 4 kB / 0.6211 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.2001, allocations: 3.984 kB / 0.6211 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2001, allocations: 0 / 0.6211 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.2006, allocations: 279.7 kB / 0.6214 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.2006, allocations: 93.05 kB / 0.6215 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.2007, allocations: 19.98 kB / 0.6215 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.2008, allocations: 4 kB / 0.6215 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.2008, allocations: 4 kB / 0.6215 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.2008, allocations: 4 kB / 0.6215 GB, free: 13.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.201, allocations: 148.5 kB / 0.6216 GB, free: 13.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.201, allocations: 0 / 0.6216 GB, free: 13.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.2012, allocations: 31.89 kB / 0.6217 GB, free: 13.42 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (reducedOrderSFR.integrator.y,reducedOrderSFR.firstOrder.y) * 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 (11): * Single equations (assignments): 11 * 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.0001251/0.2013, allocations: 99.77 kB / 0.6218 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.2016, allocations: 95.91 kB / 0.6219 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2016, allocations: 0 / 0.6219 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.2017, allocations: 43.92 kB / 0.6219 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.202, allocations: 27.86 kB / 0.6219 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008209/0.2028, allocations: 378.8 kB / 0.6223 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.2033, allocations: 0.7241 MB / 0.623 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.2033, allocations: 15.44 kB / 0.623 GB, free: 11.97 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2033, allocations: 0 / 0.623 GB, free: 11.97 MB / 494.1 MB Notification: Performance of Templates: time 0.004042/0.2074, allocations: 1.93 MB / 0.6249 GB, free: 10.04 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; mkfifo Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe >> ../files/Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.sim & ./Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.30226518100244] Failed to read output from testmodel.py, exit status != 0: 0.2160065989883151 0.57648986 0.38017747700000004 Calling exit ...