Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.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.001412/0.001412, allocations: 119.5 kB / 17.82 MB, free: 5.273 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.001567/0.001567, allocations: 205.2 kB / 20.78 MB, free: 2.328 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.635/1.635, allocations: 207.6 MB / 231.2 MB, free: 4.113 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.577/0.577, allocations: 104 MB / 387 MB, free: 13.93 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.SimplifiedSFR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR") translateModel(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR") [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.002106/0.002106, allocations: 67.91 kB / 0.5401 GB, free: 1.41 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1682, allocations: 75.96 MB / 0.6143 GB, free: 5.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003336/0.1715, allocations: 1.85 MB / 0.6161 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1726, allocations: 0.5862 MB / 0.6167 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.45e-05/0.1727, allocations: 0 / 0.6167 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.173, allocations: 55.69 kB / 0.6167 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.1732, allocations: 55.75 kB / 0.6168 GB, free: 2.793 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.1734, allocations: 63.86 kB / 0.6169 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.1737, allocations: 267.6 kB / 0.6171 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1738, allocations: 29.48 kB / 0.6171 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.174, allocations: 103.7 kB / 0.6172 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.1742, allocations: 127.5 kB / 0.6174 GB, free: 2.211 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.1742, allocations: 16 kB / 0.6174 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.884e-05/0.1742, allocations: 19.94 kB / 0.6174 GB, free: 2.176 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.05e-05/0.1743, allocations: 47.83 kB / 0.6174 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.937e-05/0.1744, allocations: 75.55 kB / 0.6175 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1747, allocations: 199.2 kB / 0.6177 GB, free: 1.859 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1747, allocations: 4 kB / 0.6177 GB, free: 1.855 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1747, allocations: 0 / 0.6177 GB, free: 1.855 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1747, allocations: 0 / 0.6177 GB, free: 1.855 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001236/0.1759, allocations: 0.5298 MB / 0.6182 GB, free: 1.277 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1759, allocations: 15.97 kB / 0.6182 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.176, allocations: 20.83 kB / 0.6183 GB, free: 1.242 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006077/0.1766, allocations: 300.5 kB / 0.6185 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1766, allocations: 4.375 kB / 0.6186 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.1767, allocations: 12.38 kB / 0.6186 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.1769, allocations: 109.9 kB / 0.6187 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1769, allocations: 0 / 0.6187 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1769, allocations: 4 kB / 0.6187 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1769, allocations: 4 kB / 0.6187 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.1772, allocations: 103.9 kB / 0.6188 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.178, allocations: 0.5233 MB / 0.6193 GB, free: 88 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.1784, allocations: 166.6 kB / 0.6194 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.1785, allocations: 48.83 kB / 0.6195 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1785, allocations: 8 kB / 0.6195 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.1785, allocations: 30.56 kB / 0.6195 GB, free: 15.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.715e-06/0.1786, allocations: 3.984 kB / 0.6195 GB, free: 15.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008827/0.1794, allocations: 347.2 kB / 0.6199 GB, free: 15.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1795, allocations: 51.41 kB / 0.6199 GB, free: 15.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/0.18, allocations: 270.2 kB / 0.6202 GB, free: 15.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.18, allocations: 29.7 kB / 0.6202 GB, free: 15.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.1801, allocations: 116.1 kB / 0.6203 GB, free: 14.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.1802, allocations: 43.62 kB / 0.6203 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.1802, allocations: 21.72 kB / 0.6204 GB, free: 14.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1804, allocations: 331.2 kB / 0.6207 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.784e-05/0.1805, allocations: 43.98 kB / 0.6207 GB, free: 14.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-05/0.1805, allocations: 55.91 kB / 0.6208 GB, free: 14.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000832/0.1814, allocations: 264.5 kB / 0.621 GB, free: 14.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1814, allocations: 0 / 0.621 GB, free: 14.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003868/0.1818, allocations: 206.3 kB / 0.6212 GB, free: 13.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1818, allocations: 8 kB / 0.6212 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1818, allocations: 3.938 kB / 0.6212 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.182, allocations: 40.83 kB / 0.6213 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.182, allocations: 19.98 kB / 0.6213 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.1835, allocations: 1.551 MB / 0.6228 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.1837, allocations: 31.94 kB / 0.6228 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1837, allocations: 64 / 0.6228 GB, free: 12.18 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: simplifiedSFR.inertia.x_scaled[1]:VARIABLE(start = simplifiedSFR.inertia.a_end * simplifiedSFR.inertia.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] simplifiedSFR.feedbackLoop.x_scaled[1]:VARIABLE(start = simplifiedSFR.feedbackLoop.a_end * simplifiedSFR.feedbackLoop.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002286/0.1839, allocations: 155.6 kB / 0.623 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.184, allocations: 15.91 kB / 0.623 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.125e-05/0.184, allocations: 21.41 kB / 0.623 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.184, allocations: 144 / 0.623 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.184, allocations: 7.938 kB / 0.623 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.184, allocations: 3.984 kB / 0.623 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.1843, allocations: 265.5 kB / 0.6233 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1843, allocations: 3.938 kB / 0.6233 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.1844, allocations: 11.98 kB / 0.6233 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.1846, allocations: 44.77 kB / 0.6234 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1846, allocations: 4 kB / 0.6234 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.1859, allocations: 1.555 MB / 0.6249 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1859, allocations: 3.938 kB / 0.6249 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.1865, allocations: 352.1 kB / 0.6252 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.1865, allocations: 101 kB / 0.6253 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.1866, allocations: 192 / 0.6253 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.1868, allocations: 23.97 kB / 0.6253 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.1868, allocations: 15.92 kB / 0.6253 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1868, allocations: 0 / 0.6253 GB, free: 9.379 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004263/0.1873, allocations: 224.1 kB / 0.6256 GB, free: 9.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1873, allocations: 0 / 0.6256 GB, free: 9.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1876, allocations: 35.94 kB / 0.6256 GB, free: 9.125 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (simplifiedSFR.inertia.x_scaled[1],simplifiedSFR.feedbackLoop.x_scaled[1]) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001235/0.1877, allocations: 95.39 kB / 0.6257 GB, free: 9.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005215/0.1882, allocations: 242.5 kB / 0.6259 GB, free: 8.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1882, allocations: 0 / 0.6259 GB, free: 8.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.1885, allocations: 178.5 kB / 0.6261 GB, free: 8.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.1888, allocations: 22.66 kB / 0.6261 GB, free: 8.562 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000799/0.1896, allocations: 394 kB / 0.6265 GB, free: 8.145 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.1899, allocations: 0.7319 MB / 0.6272 GB, free: 7.387 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.19, allocations: 15.44 kB / 0.6272 GB, free: 7.371 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.19, allocations: 0 / 0.6272 GB, free: 7.371 MB / 494.1 MB Notification: Performance of Templates: time 0.004785/0.1948, allocations: 2.748 MB / 0.6299 GB, free: 4.621 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; mkfifo Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe >> ../files/Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.sim & ./Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.952698565000901] Failed to read output from testmodel.py, exit status != 0: 0.20307155101909302 0.517944655 0.34085149 Calling exit ...