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.001576/0.001576, allocations: 100.3 kB / 20.47 MB, free: 1.367 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.001599/0.001599, allocations: 221.2 kB / 23.77 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.496/1.496, allocations: 207.7 MB / 234.6 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.6354/0.6354, allocations: 103.8 MB / 390.7 MB, free: 21.34 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.002121/0.002121, allocations: 75.34 kB / 0.5452 GB, free: 7.074 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4368, allocations: 75.98 MB / 0.6194 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002441/0.4392, allocations: 1.82 MB / 0.6212 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007878/0.44, allocations: 0.5388 MB / 0.6217 GB, free: 8.137 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.105e-05/0.4401, allocations: 3.938 kB / 0.6217 GB, free: 8.133 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.4404, allocations: 43.7 kB / 0.6218 GB, free: 8.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.4406, allocations: 67.75 kB / 0.6218 GB, free: 8.023 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.4407, allocations: 67.89 kB / 0.6219 GB, free: 7.957 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.441, allocations: 315.4 kB / 0.6222 GB, free: 7.648 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.4411, allocations: 29.73 kB / 0.6222 GB, free: 7.613 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.4412, allocations: 119.6 kB / 0.6223 GB, free: 7.496 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.4414, allocations: 115.6 kB / 0.6225 GB, free: 7.383 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.4414, allocations: 16 kB / 0.6225 GB, free: 7.367 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.45e-05/0.4414, allocations: 16 kB / 0.6225 GB, free: 7.352 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.4415, allocations: 55.75 kB / 0.6225 GB, free: 7.297 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.4416, allocations: 59.72 kB / 0.6226 GB, free: 7.238 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.4417, allocations: 207.3 kB / 0.6228 GB, free: 7.043 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4417, allocations: 0 / 0.6228 GB, free: 7.043 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4417, allocations: 0 / 0.6228 GB, free: 7.043 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.4418, allocations: 0 / 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.0009413/0.4427, allocations: 477.3 kB / 0.6232 GB, free: 6.547 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.4427, allocations: 12.03 kB / 0.6233 GB, free: 6.535 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.4428, allocations: 16.84 kB / 0.6233 GB, free: 6.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.4432, allocations: 238.1 kB / 0.6235 GB, free: 6.262 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4432, allocations: 8.375 kB / 0.6235 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.4433, allocations: 4.375 kB / 0.6235 GB, free: 6.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.4434, allocations: 121.6 kB / 0.6236 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4435, allocations: 0 / 0.6236 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.4435, allocations: 8 kB / 0.6236 GB, free: 6.121 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4435, allocations: 0 / 0.6236 GB, free: 6.121 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.4436, allocations: 103.9 kB / 0.6237 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.4442, allocations: 380.2 kB / 0.6241 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.4445, allocations: 162.5 kB / 0.6243 GB, free: 5.449 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/0.4446, allocations: 52.83 kB / 0.6243 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.4446, allocations: 8 kB / 0.6243 GB, free: 5.387 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.4447, allocations: 34.56 kB / 0.6243 GB, free: 5.344 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.4447, allocations: 0 / 0.6243 GB, free: 5.344 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006702/0.4453, allocations: 266.2 kB / 0.6246 GB, free: 5.074 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.4453, allocations: 55.34 kB / 0.6247 GB, free: 5.008 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.4457, allocations: 278.9 kB / 0.6249 GB, free: 4.723 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.4458, allocations: 25.7 kB / 0.6249 GB, free: 4.691 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.4458, allocations: 124 kB / 0.6251 GB, free: 4.566 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.4458, allocations: 35.69 kB / 0.6251 GB, free: 4.531 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.4459, allocations: 21.72 kB / 0.6251 GB, free: 4.504 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.286e-05/0.4459, allocations: 330.8 kB / 0.6254 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/0.446, allocations: 43.98 kB / 0.6255 GB, free: 4.129 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.4461, allocations: 52.34 kB / 0.6255 GB, free: 4.078 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006525/0.4467, allocations: 272.6 kB / 0.6258 GB, free: 3.809 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4467, allocations: 0 / 0.6258 GB, free: 3.809 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002831/0.447, allocations: 202.2 kB / 0.626 GB, free: 3.602 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.447, allocations: 4 kB / 0.626 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.447, allocations: 0 / 0.626 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001499/0.4472, allocations: 44.83 kB / 0.626 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7e-05/0.4472, allocations: 19.92 kB / 0.626 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008877/0.4481, allocations: 1.425 MB / 0.6274 GB, free: 2.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.4483, allocations: 27.95 kB / 0.6275 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.4483, allocations: 3.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.0001618/0.4485, allocations: 149.6 kB / 0.6276 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.4485, allocations: 15.91 kB / 0.6276 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.4486, allocations: 25.39 kB / 0.6276 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4486, allocations: 4 kB / 0.6277 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.4486, allocations: 0 / 0.6277 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.4486, allocations: 0 / 0.6277 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.4487, allocations: 181.2 kB / 0.6278 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4487, allocations: 0 / 0.6278 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.938e-05/0.4488, allocations: 12 kB / 0.6278 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/0.4489, allocations: 44.81 kB / 0.6279 GB, free: 1.512 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.4489, allocations: 12 kB / 0.6279 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007911/0.4497, allocations: 1.425 MB / 0.6293 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4497, allocations: 3.984 kB / 0.6293 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.4503, allocations: 356 kB / 0.6296 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.4503, allocations: 23.92 kB / 0.6296 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.4503, allocations: 4.125 kB / 0.6297 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.4505, allocations: 31.91 kB / 0.6297 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.4506, allocations: 7.984 kB / 0.6297 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.4506, allocations: 0 / 0.6297 GB, free: 15.53 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004075/0.451, allocations: 212.5 kB / 0.6299 GB, free: 15.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.451, allocations: 7.938 kB / 0.6299 GB, free: 15.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.4513, 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.0001164/0.4514, allocations: 91.25 kB / 0.63 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005385/0.4519, allocations: 242.7 kB / 0.6302 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4519, allocations: 4 kB / 0.6303 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.4522, allocations: 182.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.0002599/0.4525, allocations: 23.92 kB / 0.6304 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007862/0.4533, allocations: 394.1 kB / 0.6308 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.4534, allocations: 119.3 kB / 0.6309 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.4534, allocations: 19.44 kB / 0.631 GB, free: 14.14 MB / 478.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4534, allocations: 0 / 0.631 GB, free: 14.14 MB / 478.1 MB Notification: Performance of Templates: time 0.005117/0.4586, allocations: 2.795 MB / 0.6337 GB, free: 11.35 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: 8.420399545982946] Failed to read output from testmodel.py, exit status != 0: 0.46738753700628877 0.48148149199999996 0.036843881 Calling exit ...