Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.612/1.612, allocations: 207.6 MB / 230.5 MB, free: 4.012 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/package.mo): time 0.6682/0.6682, allocations: 103 MB / 385.3 MB, free: 14.97 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-master/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.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(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR") translateModel(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR") [Timeout 660] "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.002146/0.002146, allocations: 75.89 kB / 0.5378 GB, free: 4.078 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1683, allocations: 75.65 MB / 0.6117 GB, free: 8.336 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003413/0.1717, allocations: 1.855 MB / 0.6135 GB, free: 6.469 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1729, allocations: 0.6098 MB / 0.6141 GB, free: 5.852 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.173, allocations: 4 kB / 0.6141 GB, free: 5.848 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.1733, allocations: 43.7 kB / 0.6142 GB, free: 5.805 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.1735, allocations: 51.7 kB / 0.6142 GB, free: 5.754 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.1737, allocations: 91.81 kB / 0.6143 GB, free: 5.664 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.1741, allocations: 259.6 kB / 0.6146 GB, free: 5.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1742, allocations: 29.55 kB / 0.6146 GB, free: 5.379 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.1744, allocations: 99.66 kB / 0.6147 GB, free: 5.281 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1746, allocations: 119.5 kB / 0.6148 GB, free: 5.164 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.1746, allocations: 16 kB / 0.6148 GB, free: 5.148 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.096e-05/0.1746, allocations: 16 kB / 0.6148 GB, free: 5.133 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.216e-05/0.1747, allocations: 55.78 kB / 0.6149 GB, free: 5.078 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.774e-05/0.1748, allocations: 67.59 kB / 0.6149 GB, free: 5.012 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.1751, allocations: 191.3 kB / 0.6151 GB, free: 4.824 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1751, allocations: 0 / 0.6151 GB, free: 4.824 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1751, allocations: 0 / 0.6151 GB, free: 4.824 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1751, allocations: 0 / 0.6151 GB, free: 4.824 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.001247/0.1764, allocations: 0.5491 MB / 0.6157 GB, free: 4.227 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1764, allocations: 12.03 kB / 0.6157 GB, free: 4.215 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.1765, allocations: 20.84 kB / 0.6157 GB, free: 4.195 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.1771, allocations: 304.9 kB / 0.616 GB, free: 3.855 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1771, allocations: 8.359 kB / 0.616 GB, free: 3.848 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.1771, allocations: 8.375 kB / 0.616 GB, free: 3.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.1774, allocations: 113.9 kB / 0.6161 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1774, allocations: 7.938 kB / 0.6161 GB, free: 3.715 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1774, allocations: 4 kB / 0.6161 GB, free: 3.711 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1774, allocations: 0 / 0.6161 GB, free: 3.711 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.1777, allocations: 107.9 kB / 0.6162 GB, free: 3.605 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007704/0.1784, allocations: 472.5 kB / 0.6167 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.1789, allocations: 158.7 kB / 0.6168 GB, free: 2.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.179, allocations: 56.77 kB / 0.6169 GB, free: 2.871 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.179, allocations: 0 / 0.6169 GB, free: 2.871 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.179, allocations: 34.5 kB / 0.6169 GB, free: 2.828 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 9.61e-07/0.179, allocations: 0 / 0.6169 GB, free: 2.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009254/0.18, allocations: 351.2 kB / 0.6172 GB, free: 2.457 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.18, allocations: 51.41 kB / 0.6173 GB, free: 2.395 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005502/0.1806, allocations: 277 kB / 0.6176 GB, free: 2.113 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1806, allocations: 25.7 kB / 0.6176 GB, free: 2.082 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1807, allocations: 128 kB / 0.6177 GB, free: 1.953 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.1807, allocations: 31.75 kB / 0.6177 GB, free: 1.922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.1808, allocations: 21.7 kB / 0.6178 GB, free: 1.895 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.181, allocations: 326.8 kB / 0.6181 GB, free: 1.566 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.1811, allocations: 47.97 kB / 0.6181 GB, free: 1.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.474e-05/0.1812, allocations: 51.97 kB / 0.6182 GB, free: 1.469 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008656/0.182, allocations: 264.5 kB / 0.6184 GB, free: 1.207 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.182, allocations: 0 / 0.6184 GB, free: 1.207 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004128/0.1824, allocations: 206.2 kB / 0.6186 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1824, allocations: 4 kB / 0.6186 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1825, allocations: 7.984 kB / 0.6186 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.1826, allocations: 44.83 kB / 0.6187 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.1827, allocations: 12 kB / 0.6187 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.1843, allocations: 1.555 MB / 0.6202 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.1845, allocations: 31.92 kB / 0.6202 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1845, allocations: 0 / 0.6202 GB, free: 15.2 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: simplifiedSFR.feedbackLoop.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] simplifiedSFR.inertia.x_scaled[1]:VARIABLE(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.0001783/0.1847, allocations: 141 kB / 0.6204 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.1848, allocations: 16.38 kB / 0.6204 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.1848, allocations: 33.45 kB / 0.6204 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1848, allocations: 0 / 0.6204 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1848, allocations: 3.938 kB / 0.6204 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1848, allocations: 0 / 0.6204 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.1851, allocations: 257.5 kB / 0.6207 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1851, allocations: 0 / 0.6207 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-05/0.1852, allocations: 15.94 kB / 0.6207 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001437/0.1854, allocations: 44.81 kB / 0.6207 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.1854, allocations: 4 kB / 0.6207 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.1868, allocations: 1.559 MB / 0.6222 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1869, allocations: 0 / 0.6222 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.1874, allocations: 352.1 kB / 0.6226 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.1875, allocations: 96.97 kB / 0.6227 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1875, allocations: 8 kB / 0.6227 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.1878, allocations: 28.08 kB / 0.6227 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.1878, allocations: 11.94 kB / 0.6227 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1878, allocations: 4 kB / 0.6227 GB, free: 12.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000451/0.1883, allocations: 217.4 kB / 0.6229 GB, free: 12.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1883, allocations: 0 / 0.6229 GB, free: 12.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.1886, allocations: 32 kB / 0.623 GB, free: 12.16 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.0001261/0.1887, allocations: 95.25 kB / 0.6231 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005032/0.1892, allocations: 234.5 kB / 0.6233 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1892, allocations: 0 / 0.6233 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.1895, allocations: 190.5 kB / 0.6235 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.1898, allocations: 20.7 kB / 0.6235 GB, free: 11.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.1907, allocations: 402.6 kB / 0.6239 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.1911, allocations: 0.7358 MB / 0.6246 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.1911, allocations: 15.44 kB / 0.6246 GB, free: 10.39 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1911, allocations: 0 / 0.6246 GB, free: 10.39 MB / 494.1 MB Notification: Performance of Templates: time 0.005471/0.1966, allocations: 2.805 MB / 0.6273 GB, free: 7.594 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.sim & ./Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.91532582603395] Failed to read output from testmodel.py, exit status != 0: 0.20493946387432516 0.48518143300000005 0.307703836 Calling exit ...