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.002066/0.002066, allocations: 108.3 kB / 19.73 MB, free: 2.059 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.002298/0.002298, allocations: 206.8 kB / 23.01 MB, free: 4.879 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.536/1.536, allocations: 207.7 MB / 233.9 MB, free: 9.801 MB / 190.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.5889/0.5889, allocations: 103.8 MB / 389.9 MB, free: 21.24 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.002309/0.002309, allocations: 79.33 kB / 0.5445 GB, free: 6.898 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3913, allocations: 76 MB / 0.6187 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002513/0.3938, allocations: 1.816 MB / 0.6205 GB, free: 8.641 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008376/0.3947, allocations: 0.5465 MB / 0.621 GB, free: 8.086 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.638e-05/0.3947, allocations: 0 / 0.621 GB, free: 8.086 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.3951, allocations: 47.69 kB / 0.621 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.3953, allocations: 63.75 kB / 0.6211 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.3955, allocations: 75.83 kB / 0.6212 GB, free: 7.902 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.3958, allocations: 311.4 kB / 0.6215 GB, free: 7.598 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.3959, allocations: 37.73 kB / 0.6215 GB, free: 7.555 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.396, allocations: 111.6 kB / 0.6216 GB, free: 7.445 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.3962, allocations: 119.5 kB / 0.6217 GB, free: 7.328 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.3962, allocations: 16 kB / 0.6217 GB, free: 7.312 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.581e-05/0.3963, allocations: 16 kB / 0.6218 GB, free: 7.297 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.3963, allocations: 51.83 kB / 0.6218 GB, free: 7.246 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.3964, allocations: 59.66 kB / 0.6219 GB, free: 7.188 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.3966, allocations: 207.3 kB / 0.6221 GB, free: 6.992 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3966, allocations: 3.938 kB / 0.6221 GB, free: 6.988 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3966, allocations: 0 / 0.6221 GB, free: 6.988 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3966, allocations: 4 kB / 0.6221 GB, free: 6.984 MB / 462.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.0009817/0.3975, allocations: 465.4 kB / 0.6225 GB, free: 6.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3976, allocations: 8.031 kB / 0.6225 GB, free: 6.492 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.3976, allocations: 16.84 kB / 0.6225 GB, free: 6.477 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.3981, allocations: 242.1 kB / 0.6228 GB, free: 6.215 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3981, allocations: 8.375 kB / 0.6228 GB, free: 6.207 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.3982, allocations: 4.375 kB / 0.6228 GB, free: 6.203 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.3984, allocations: 117.9 kB / 0.6229 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3984, allocations: 7.938 kB / 0.6229 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3984, allocations: 3.984 kB / 0.6229 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3984, allocations: 0 / 0.6229 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.3986, allocations: 107.9 kB / 0.623 GB, free: 5.965 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.3992, allocations: 380.2 kB / 0.6234 GB, free: 5.562 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.3995, allocations: 154.7 kB / 0.6235 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.3996, allocations: 64.75 kB / 0.6236 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.3996, allocations: 4 kB / 0.6236 GB, free: 5.332 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.3997, allocations: 30.56 kB / 0.6236 GB, free: 5.293 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.3997, allocations: 0 / 0.6236 GB, free: 5.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.000722/0.4004, allocations: 266.1 kB / 0.6239 GB, free: 5.023 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.4004, allocations: 55.41 kB / 0.6239 GB, free: 4.957 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.4008, allocations: 274.8 kB / 0.6242 GB, free: 4.676 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.4008, allocations: 29.7 kB / 0.6242 GB, free: 4.641 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.4009, allocations: 120 kB / 0.6243 GB, free: 4.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.4009, allocations: 39.67 kB / 0.6244 GB, free: 4.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.401, allocations: 25.72 kB / 0.6244 GB, free: 4.449 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.401, allocations: 322.8 kB / 0.6247 GB, free: 4.125 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.4011, allocations: 51.97 kB / 0.6247 GB, free: 4.074 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.4012, allocations: 47.97 kB / 0.6248 GB, free: 4.027 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007439/0.4019, allocations: 272.5 kB / 0.625 GB, free: 3.758 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4019, allocations: 0 / 0.625 GB, free: 3.758 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003193/0.4022, allocations: 206.3 kB / 0.6252 GB, free: 3.547 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.4023, allocations: 4 kB / 0.6252 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4023, allocations: 0 / 0.6252 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.4024, allocations: 44.83 kB / 0.6253 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.4025, allocations: 15.98 kB / 0.6253 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009061/0.4034, allocations: 1.417 MB / 0.6267 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.4036, allocations: 35.94 kB / 0.6267 GB, free: 1.926 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.4036, allocations: 3.938 kB / 0.6267 GB, free: 1.922 MB / 462.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.0001644/0.4038, allocations: 154.1 kB / 0.6269 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.4038, allocations: 16.05 kB / 0.6269 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.4039, allocations: 21.39 kB / 0.6269 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4039, allocations: 11.92 kB / 0.6269 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4039, allocations: 0 / 0.6269 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4039, allocations: 3.938 kB / 0.6269 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.4041, allocations: 177.2 kB / 0.6271 GB, free: 1.512 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4041, allocations: 3.984 kB / 0.6271 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.64e-05/0.4041, allocations: 15.94 kB / 0.6271 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.4043, allocations: 48.83 kB / 0.6272 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.4043, allocations: 4 kB / 0.6272 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009378/0.4052, allocations: 1.424 MB / 0.6286 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4052, allocations: 0 / 0.6286 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.4058, allocations: 360.1 kB / 0.6289 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.4059, allocations: 19.94 kB / 0.6289 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.4059, allocations: 0 / 0.6289 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.4061, allocations: 27.95 kB / 0.6289 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.4062, allocations: 11.98 kB / 0.629 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.4062, allocations: 0 / 0.629 GB, free: 15.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004359/0.4066, allocations: 216.5 kB / 0.6292 GB, free: 15.27 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4066, allocations: 0 / 0.6292 GB, free: 15.27 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.4069, allocations: 32 kB / 0.6292 GB, free: 15.24 MB / 478.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.0001244/0.407, allocations: 95.38 kB / 0.6293 GB, free: 15.13 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.4076, allocations: 238.5 kB / 0.6295 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4076, allocations: 4 kB / 0.6295 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.4078, allocations: 178.6 kB / 0.6297 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.4081, allocations: 20.22 kB / 0.6297 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007583/0.4089, allocations: 368.4 kB / 0.6301 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.409, allocations: 123.3 kB / 0.6302 GB, free: 14.15 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.702e-05/0.4091, allocations: 20.97 kB / 0.6302 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.4091, allocations: 11.44 kB / 0.6302 GB, free: 14.11 MB / 478.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4091, allocations: 0 / 0.6302 GB, free: 14.11 MB / 478.1 MB Notification: Performance of Templates: time 0.005852/0.415, allocations: 2.1 MB / 0.6323 GB, free: 12.03 MB / 478.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: 5.464350876864046] Failed to read output from testmodel.py, exit status != 0: 0.42441737512126565 0.43963334499999995 0.039801844 Calling exit ...