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.001747/0.001747, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001436/0.001436, allocations: 194.8 kB / 22.17 MB, free: 5.656 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.597/1.597, allocations: 207.6 MB / 232.9 MB, free: 10.96 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.6444/0.6444, allocations: 103 MB / 388.1 MB, free: 20.89 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.002798/0.002798, allocations: 72.31 kB / 0.542 GB, free: 9.023 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4123, allocations: 75.65 MB / 0.6159 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002961/0.4152, allocations: 1.867 MB / 0.6177 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.4163, allocations: 0.601 MB / 0.6183 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.4164, allocations: 4 kB / 0.6183 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.4167, allocations: 47.7 kB / 0.6183 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.4169, allocations: 59.75 kB / 0.6184 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.4171, allocations: 87.83 kB / 0.6185 GB, free: 9.973 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.4173, allocations: 263.5 kB / 0.6187 GB, free: 9.715 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.4175, allocations: 29.55 kB / 0.6188 GB, free: 9.684 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.4176, allocations: 99.66 kB / 0.6189 GB, free: 9.586 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.4178, allocations: 111.6 kB / 0.619 GB, free: 9.477 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.4178, allocations: 16 kB / 0.619 GB, free: 9.461 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.524e-05/0.4178, allocations: 20 kB / 0.619 GB, free: 9.441 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.292e-05/0.4179, allocations: 51.77 kB / 0.6191 GB, free: 9.391 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.28e-05/0.418, allocations: 75.53 kB / 0.6191 GB, free: 9.316 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.4182, allocations: 195.6 kB / 0.6193 GB, free: 9.129 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4182, allocations: 3.984 kB / 0.6193 GB, free: 9.125 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4182, allocations: 0 / 0.6193 GB, free: 9.125 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.4182, allocations: 0 / 0.6193 GB, free: 9.125 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.001115/0.4193, allocations: 0.5414 MB / 0.6198 GB, free: 8.535 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.4193, allocations: 8.031 kB / 0.6198 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.4194, allocations: 20.83 kB / 0.6199 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.4199, allocations: 309.6 kB / 0.6202 GB, free: 8.164 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.4199, allocations: 8.359 kB / 0.6202 GB, free: 8.156 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.4199, allocations: 8.375 kB / 0.6202 GB, free: 8.148 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.4202, allocations: 109.9 kB / 0.6203 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.4202, allocations: 0 / 0.6203 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.4202, allocations: 7.938 kB / 0.6203 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.4202, allocations: 8 kB / 0.6203 GB, free: 8.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.4204, allocations: 99.94 kB / 0.6204 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.421, allocations: 476.4 kB / 0.6209 GB, free: 7.406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.4214, allocations: 162.7 kB / 0.621 GB, free: 7.238 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.976e-05/0.4214, allocations: 52.84 kB / 0.6211 GB, free: 7.184 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.4215, allocations: 0 / 0.6211 GB, free: 7.184 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.4215, allocations: 34.55 kB / 0.6211 GB, free: 7.141 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.4215, allocations: 0 / 0.6211 GB, free: 7.141 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007515/0.4222, allocations: 343.2 kB / 0.6214 GB, free: 6.777 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.4223, allocations: 51.41 kB / 0.6215 GB, free: 6.715 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.4227, allocations: 277.4 kB / 0.6217 GB, free: 6.434 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.4227, allocations: 29.7 kB / 0.6218 GB, free: 6.398 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.4228, allocations: 120.1 kB / 0.6219 GB, free: 6.277 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.4228, allocations: 31.73 kB / 0.6219 GB, free: 6.246 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.4228, allocations: 29.66 kB / 0.6219 GB, free: 6.211 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.4229, allocations: 330.8 kB / 0.6222 GB, free: 5.879 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.718e-05/0.423, allocations: 43.92 kB / 0.6223 GB, free: 5.836 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.4231, allocations: 47.97 kB / 0.6223 GB, free: 5.789 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/0.4238, allocations: 272.5 kB / 0.6226 GB, free: 5.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4238, allocations: 0 / 0.6226 GB, free: 5.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003087/0.4241, allocations: 206.2 kB / 0.6228 GB, free: 5.309 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4241, allocations: 4 kB / 0.6228 GB, free: 5.305 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4241, allocations: 0 / 0.6228 GB, free: 5.305 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.4243, allocations: 44.83 kB / 0.6228 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.397e-05/0.4244, allocations: 19.92 kB / 0.6229 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009447/0.4253, allocations: 1.555 MB / 0.6244 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.4255, allocations: 32.06 kB / 0.6244 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.4255, allocations: 3.984 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.0001517/0.4257, allocations: 135.1 kB / 0.6245 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.4257, allocations: 15.91 kB / 0.6246 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.4258, allocations: 21.39 kB / 0.6246 GB, free: 3.328 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4258, allocations: 4 kB / 0.6246 GB, free: 3.324 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4258, allocations: 7.938 kB / 0.6246 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.4258, allocations: 0 / 0.6246 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.426, allocations: 261.5 kB / 0.6248 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.426, allocations: 0 / 0.6248 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-05/0.4261, allocations: 15.92 kB / 0.6248 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001106/0.4262, allocations: 44.83 kB / 0.6249 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.4262, allocations: 4 kB / 0.6249 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008352/0.427, allocations: 1.555 MB / 0.6264 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.427, allocations: 0 / 0.6264 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.4275, allocations: 360.1 kB / 0.6268 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.4275, allocations: 93.05 kB / 0.6268 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.4275, allocations: 11.98 kB / 0.6269 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.4277, allocations: 19.97 kB / 0.6269 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.4278, allocations: 16.05 kB / 0.6269 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.4278, allocations: 4 kB / 0.6269 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003479/0.4281, allocations: 221.4 kB / 0.6271 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4281, allocations: 0 / 0.6271 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.4284, allocations: 28 kB / 0.6271 GB, free: 492 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 9.434e-05/0.4285, allocations: 99.25 kB / 0.6272 GB, free: 384 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.4289, allocations: 230.6 kB / 0.6274 GB, free: 140 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.4289, allocations: 0 / 0.6274 GB, free: 140 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.4292, allocations: 182.5 kB / 0.6276 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.4295, allocations: 27.42 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.0008632/0.4304, allocations: 380.7 kB / 0.628 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.4308, allocations: 0.7358 MB / 0.6287 GB, free: 14.76 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.374e-05/0.4309, allocations: 20.62 kB / 0.6287 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.4309, allocations: 15.44 kB / 0.6288 GB, free: 14.72 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4309, allocations: 0 / 0.6288 GB, free: 14.72 MB / 478.1 MB Notification: Performance of Templates: time 0.005645/0.4366, allocations: 1.914 MB / 0.6306 GB, free: 12.82 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 cvode -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.726768505293876] Failed to read output from testmodel.py, exit status != 0: 0.44580835942178965 0.46002704800000005 0.038639701000000005 Calling exit ...