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.001758/0.001758, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002367/0.002367, allocations: 203 kB / 22.17 MB, free: 5.203 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.589/1.589, allocations: 207.6 MB / 232.9 MB, free: 10.92 MB / 190.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.597/0.597, allocations: 103 MB / 388.1 MB, free: 21.01 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.002393/0.002393, allocations: 71.89 kB / 0.542 GB, free: 9.047 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3556, allocations: 75.65 MB / 0.6159 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002653/0.3582, allocations: 1.875 MB / 0.6177 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008724/0.3591, allocations: 0.6049 MB / 0.6183 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.781e-05/0.3592, allocations: 0 / 0.6183 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.3595, allocations: 43.7 kB / 0.6184 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.3597, allocations: 55.7 kB / 0.6184 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.3598, allocations: 91.89 kB / 0.6185 GB, free: 9.973 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.3601, allocations: 267.5 kB / 0.6187 GB, free: 9.711 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3602, allocations: 29.48 kB / 0.6188 GB, free: 9.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3603, allocations: 95.72 kB / 0.6189 GB, free: 9.586 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.3604, allocations: 111.6 kB / 0.619 GB, free: 9.477 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.3605, allocations: 19.94 kB / 0.619 GB, free: 9.457 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.085e-05/0.3605, allocations: 16 kB / 0.619 GB, free: 9.441 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.3606, allocations: 43.91 kB / 0.619 GB, free: 9.398 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.3606, allocations: 79.45 kB / 0.6191 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.3608, allocations: 195.6 kB / 0.6193 GB, free: 9.133 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3608, allocations: 4 kB / 0.6193 GB, free: 9.129 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3608, allocations: 0 / 0.6193 GB, free: 9.129 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3608, allocations: 0 / 0.6193 GB, free: 9.129 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.001046/0.3619, allocations: 0.5452 MB / 0.6198 GB, free: 8.535 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3619, allocations: 12.03 kB / 0.6199 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.3619, allocations: 16.84 kB / 0.6199 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.3625, allocations: 309.6 kB / 0.6202 GB, free: 8.164 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.3625, allocations: 4.375 kB / 0.6202 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.3625, allocations: 8.375 kB / 0.6202 GB, free: 8.152 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.3627, allocations: 117.8 kB / 0.6203 GB, free: 8.031 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3627, allocations: 0 / 0.6203 GB, free: 8.031 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3627, allocations: 4 kB / 0.6203 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3627, allocations: 0 / 0.6203 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.3629, allocations: 107.9 kB / 0.6204 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.3635, allocations: 476.4 kB / 0.6209 GB, free: 7.406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.3638, allocations: 154.7 kB / 0.621 GB, free: 7.246 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.3639, allocations: 52.83 kB / 0.6211 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.3639, allocations: 0 / 0.6211 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.3639, allocations: 38.5 kB / 0.6211 GB, free: 7.145 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.3639, allocations: 0 / 0.6211 GB, free: 7.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007205/0.3646, allocations: 343.3 kB / 0.6214 GB, free: 6.781 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.3647, allocations: 55.41 kB / 0.6215 GB, free: 6.715 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.3651, allocations: 277 kB / 0.6217 GB, free: 6.434 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.3651, allocations: 29.7 kB / 0.6218 GB, free: 6.398 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.3652, allocations: 124.1 kB / 0.6219 GB, free: 6.273 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.3652, allocations: 31.73 kB / 0.6219 GB, free: 6.242 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.3652, allocations: 21.7 kB / 0.6219 GB, free: 6.215 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.3653, allocations: 330.8 kB / 0.6222 GB, free: 5.883 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.3654, allocations: 47.97 kB / 0.6223 GB, free: 5.836 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.3654, allocations: 48.34 kB / 0.6223 GB, free: 5.789 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.3661, allocations: 268.6 kB / 0.6226 GB, free: 5.523 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3661, allocations: 4 kB / 0.6226 GB, free: 5.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003085/0.3664, allocations: 206.2 kB / 0.6228 GB, free: 5.309 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3664, allocations: 7.984 kB / 0.6228 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3665, allocations: 8 kB / 0.6228 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.3666, allocations: 40.83 kB / 0.6229 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.3667, allocations: 12 kB / 0.6229 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009051/0.3676, allocations: 1.559 MB / 0.6244 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.3678, allocations: 28 kB / 0.6244 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3678, allocations: 4 kB / 0.6244 GB, free: 3.508 MB / 462.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.0001176/0.3679, allocations: 141.8 kB / 0.6245 GB, free: 3.359 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.3679, allocations: 11.91 kB / 0.6246 GB, free: 3.348 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.368, allocations: 29.39 kB / 0.6246 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.368, allocations: 0 / 0.6246 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.368, allocations: 3.938 kB / 0.6246 GB, free: 3.312 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.368, allocations: 0 / 0.6246 GB, free: 3.312 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.3682, allocations: 253.5 kB / 0.6248 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3682, allocations: 3.938 kB / 0.6248 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.792e-05/0.3683, allocations: 16 kB / 0.6249 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001125/0.3684, allocations: 44.95 kB / 0.6249 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3684, allocations: 7.984 kB / 0.6249 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007991/0.3692, allocations: 1.547 MB / 0.6264 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3692, allocations: 0 / 0.6264 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.3696, allocations: 356.1 kB / 0.6268 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.3696, allocations: 93.03 kB / 0.6268 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.3697, allocations: 8 kB / 0.6269 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.3699, allocations: 23.95 kB / 0.6269 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.3699, allocations: 8 kB / 0.6269 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.3699, allocations: 8.094 kB / 0.6269 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003531/0.3703, allocations: 225.4 kB / 0.6271 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3703, allocations: 0 / 0.6271 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3706, allocations: 28 kB / 0.6271 GB, free: 500 kB / 462.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 8.514e-05/0.3706, allocations: 99.19 kB / 0.6272 GB, free: 392 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.371, allocations: 238.5 kB / 0.6275 GB, free: 140 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.371, allocations: 0 / 0.6275 GB, free: 140 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.3713, allocations: 186.5 kB / 0.6276 GB, free: 15.94 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.3716, allocations: 19.98 kB / 0.6276 GB, free: 15.92 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007973/0.3724, allocations: 384.4 kB / 0.628 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.3728, allocations: 0.7321 MB / 0.6287 GB, free: 14.76 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.069e-05/0.3729, allocations: 24.64 kB / 0.6288 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.3729, allocations: 15.42 kB / 0.6288 GB, free: 14.72 MB / 478.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3729, allocations: 0 / 0.6288 GB, free: 14.72 MB / 478.1 MB Notification: Performance of Templates: time 0.005208/0.3781, allocations: 1.926 MB / 0.6307 GB, free: 12.81 MB / 478.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 -s gbode -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.595624278765172] Failed to read output from testmodel.py, exit status != 0: 0.3870883579365909 0.400629956 0.036764916 Calling exit ...