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.00131/0.00131, allocations: 100.3 kB / 20.47 MB, free: 1.363 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.001524/0.001524, allocations: 220.3 kB / 23.76 MB, free: 4.523 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.379/1.379, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.5903/0.5903, allocations: 103.8 MB / 390.7 MB, free: 21.38 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.00229/0.00229, allocations: 67.89 kB / 0.5452 GB, free: 7.098 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2769, allocations: 75.99 MB / 0.6194 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002315/0.2792, allocations: 1.82 MB / 0.6212 GB, free: 8.691 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006903/0.2799, allocations: 0.5427 MB / 0.6217 GB, free: 8.141 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.2799, allocations: 7.938 kB / 0.6217 GB, free: 8.133 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.2802, allocations: 43.69 kB / 0.6218 GB, free: 8.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.2803, allocations: 63.75 kB / 0.6218 GB, free: 8.027 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.2805, allocations: 75.89 kB / 0.6219 GB, free: 7.953 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.2808, allocations: 315.4 kB / 0.6222 GB, free: 7.645 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.2809, allocations: 29.73 kB / 0.6222 GB, free: 7.609 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.281, allocations: 111.7 kB / 0.6223 GB, free: 7.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.2811, allocations: 119.5 kB / 0.6225 GB, free: 7.383 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.2811, allocations: 16 kB / 0.6225 GB, free: 7.367 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.567e-05/0.2812, allocations: 16 kB / 0.6225 GB, free: 7.352 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.2812, allocations: 51.83 kB / 0.6225 GB, free: 7.301 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.2813, allocations: 55.67 kB / 0.6226 GB, free: 7.246 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.2814, allocations: 211.3 kB / 0.6228 GB, free: 7.047 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2814, allocations: 0 / 0.6228 GB, free: 7.047 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2814, allocations: 0 / 0.6228 GB, free: 7.047 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2814, allocations: 4 kB / 0.6228 GB, free: 7.043 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.001013/0.2825, allocations: 473.3 kB / 0.6232 GB, free: 6.551 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.2825, allocations: 8.031 kB / 0.6233 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.2825, allocations: 16.84 kB / 0.6233 GB, free: 6.527 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.283, allocations: 242.1 kB / 0.6235 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.283, allocations: 4.375 kB / 0.6235 GB, free: 6.262 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.2831, allocations: 8.375 kB / 0.6235 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.2832, allocations: 113.9 kB / 0.6236 GB, free: 6.137 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.2832, allocations: 7.984 kB / 0.6236 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2833, allocations: 0 / 0.6236 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2833, allocations: 4 kB / 0.6236 GB, free: 6.125 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.2835, allocations: 107.9 kB / 0.6237 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.284, allocations: 384.2 kB / 0.6241 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.2843, allocations: 162.6 kB / 0.6243 GB, free: 5.445 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.747e-05/0.2844, allocations: 56.81 kB / 0.6243 GB, free: 5.387 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.2844, allocations: 4 kB / 0.6243 GB, free: 5.383 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.2845, allocations: 34.56 kB / 0.6244 GB, free: 5.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.2845, allocations: 3.938 kB / 0.6244 GB, free: 5.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007178/0.2852, allocations: 258.2 kB / 0.6246 GB, free: 5.074 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.703e-05/0.2852, allocations: 59.34 kB / 0.6247 GB, free: 5.004 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004355/0.2856, allocations: 278.8 kB / 0.6249 GB, free: 4.719 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.2856, allocations: 25.7 kB / 0.6249 GB, free: 4.688 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.2857, allocations: 120 kB / 0.6251 GB, free: 4.566 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.2857, allocations: 39.69 kB / 0.6251 GB, free: 4.527 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.2857, allocations: 21.72 kB / 0.6251 GB, free: 4.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.2858, allocations: 326.8 kB / 0.6254 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/0.2859, allocations: 47.97 kB / 0.6255 GB, free: 4.125 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-05/0.2859, allocations: 47.97 kB / 0.6255 GB, free: 4.078 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007824/0.2867, allocations: 264.6 kB / 0.6258 GB, free: 3.816 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2867, allocations: 0 / 0.6258 GB, free: 3.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003247/0.2871, allocations: 206.2 kB / 0.626 GB, free: 3.605 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.2871, allocations: 7.75 kB / 0.626 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2871, allocations: 0 / 0.626 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.2872, allocations: 44.83 kB / 0.626 GB, free: 3.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.949e-05/0.2873, allocations: 23.92 kB / 0.626 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008609/0.2882, allocations: 1.417 MB / 0.6274 GB, free: 2.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.2884, allocations: 31.94 kB / 0.6275 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2884, allocations: 7.938 kB / 0.6275 GB, free: 1.973 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.0001579/0.2886, allocations: 153.8 kB / 0.6276 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.2886, allocations: 12.05 kB / 0.6276 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.2886, allocations: 29.38 kB / 0.6277 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2886, allocations: 0 / 0.6277 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.2886, allocations: 0 / 0.6277 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2886, allocations: 0 / 0.6277 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.2888, allocations: 189.2 kB / 0.6278 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2888, allocations: 0 / 0.6278 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.231e-05/0.2889, allocations: 12 kB / 0.6278 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.289, allocations: 44.83 kB / 0.6279 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.289, allocations: 7.984 kB / 0.6279 GB, free: 1.496 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008122/0.2898, allocations: 1.421 MB / 0.6293 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2899, allocations: 0 / 0.6293 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.2904, allocations: 364 kB / 0.6296 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.2905, allocations: 19.94 kB / 0.6296 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.2905, allocations: 0 / 0.6296 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.2908, allocations: 27.95 kB / 0.6297 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.2908, allocations: 11.98 kB / 0.6297 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.433e-06/0.2908, allocations: 0 / 0.6297 GB, free: 15.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004634/0.2913, allocations: 216.5 kB / 0.6299 GB, free: 15.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2913, allocations: 3.938 kB / 0.6299 GB, free: 15.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.2916, allocations: 32 kB / 0.6299 GB, free: 15.29 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.0001232/0.2917, allocations: 99.38 kB / 0.63 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005258/0.2922, allocations: 238.5 kB / 0.6303 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2922, allocations: 0 / 0.6303 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.2925, allocations: 186.6 kB / 0.6304 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.2928, allocations: 19.94 kB / 0.6304 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008013/0.2936, allocations: 356.5 kB / 0.6308 GB, free: 14.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.2938, allocations: 127.3 kB / 0.6309 GB, free: 14.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.376e-05/0.2938, allocations: 16.97 kB / 0.6309 GB, free: 14.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.2939, allocations: 15.44 kB / 0.6309 GB, free: 14.16 MB / 478.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2939, allocations: 0 / 0.6309 GB, free: 14.16 MB / 478.1 MB Notification: Performance of Templates: time 0.005545/0.2994, allocations: 2.1 MB / 0.633 GB, free: 12.08 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 -s gbode -lv LOG_STATS > Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.89245876899804] Failed to read output from testmodel.py, exit status != 0: 0.3078427440050291 0.322490828 0.037970604000000005 Calling exit ...