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.001476/0.001476, allocations: 96.34 kB / 20.46 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.001622/0.001622, allocations: 218.2 kB / 23.77 MB, free: 4.52 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.686/1.686, allocations: 207.7 MB / 234.6 MB, free: 9.797 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.6484/0.6484, allocations: 103.8 MB / 390.7 MB, free: 21.36 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.002367/0.002367, allocations: 72.42 kB / 0.5452 GB, free: 7.086 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.4951, 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.002861/0.498, allocations: 1.816 MB / 0.6212 GB, free: 8.699 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008754/0.4988, allocations: 0.5427 MB / 0.6217 GB, free: 8.148 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.4989, allocations: 7.938 kB / 0.6217 GB, free: 8.141 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.4993, allocations: 43.7 kB / 0.6218 GB, free: 8.098 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.4995, allocations: 59.75 kB / 0.6218 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.4996, allocations: 71.89 kB / 0.6219 GB, free: 7.969 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.5, allocations: 315.4 kB / 0.6222 GB, free: 7.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.5001, allocations: 25.73 kB / 0.6222 GB, free: 7.629 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.5002, allocations: 111.7 kB / 0.6223 GB, free: 7.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.5004, allocations: 111.5 kB / 0.6224 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.5004, allocations: 16 kB / 0.6225 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.965e-05/0.5005, allocations: 16 kB / 0.6225 GB, free: 7.379 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.449e-05/0.5005, allocations: 55.77 kB / 0.6225 GB, free: 7.324 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/0.5006, allocations: 59.72 kB / 0.6226 GB, free: 7.266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.5008, allocations: 207.2 kB / 0.6228 GB, free: 7.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.5008, allocations: 0 / 0.6228 GB, free: 7.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5008, allocations: 0 / 0.6228 GB, free: 7.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.5009, allocations: 7.938 kB / 0.6228 GB, free: 7.062 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.001082/0.5019, allocations: 473.3 kB / 0.6232 GB, free: 6.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.502, allocations: 8.031 kB / 0.6232 GB, free: 6.562 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.502, allocations: 20.84 kB / 0.6233 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.5025, allocations: 238.1 kB / 0.6235 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.5026, allocations: 8.375 kB / 0.6235 GB, free: 6.277 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.5026, allocations: 8.375 kB / 0.6235 GB, free: 6.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.5028, allocations: 117.3 kB / 0.6236 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5028, allocations: 0 / 0.6236 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.5028, allocations: 4 kB / 0.6236 GB, free: 6.148 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.5029, allocations: 7.984 kB / 0.6236 GB, free: 6.141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.5031, allocations: 103.9 kB / 0.6237 GB, free: 6.039 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005945/0.5036, allocations: 388.2 kB / 0.6241 GB, free: 5.629 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.504, allocations: 162.6 kB / 0.6243 GB, free: 5.461 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.979e-05/0.5041, allocations: 56.84 kB / 0.6243 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.5041, allocations: 0 / 0.6243 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.5042, allocations: 30.56 kB / 0.6243 GB, free: 5.363 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.5042, allocations: 0 / 0.6243 GB, free: 5.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007609/0.5049, allocations: 262.2 kB / 0.6246 GB, free: 5.098 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.5049, allocations: 59.34 kB / 0.6246 GB, free: 5.027 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.5054, allocations: 274.9 kB / 0.6249 GB, free: 4.746 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.5054, allocations: 29.7 kB / 0.6249 GB, free: 4.711 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.5054, allocations: 124 kB / 0.6251 GB, free: 4.586 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.5055, allocations: 31.7 kB / 0.6251 GB, free: 4.555 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.5055, allocations: 25.7 kB / 0.6251 GB, free: 4.523 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.313e-05/0.5056, allocations: 326.8 kB / 0.6254 GB, free: 4.195 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.137e-05/0.5057, allocations: 51.97 kB / 0.6255 GB, free: 4.145 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.005e-05/0.5057, allocations: 44.34 kB / 0.6255 GB, free: 4.102 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/0.5064, allocations: 268.6 kB / 0.6258 GB, free: 3.836 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5064, allocations: 0 / 0.6258 GB, free: 3.836 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003265/0.5068, allocations: 206.2 kB / 0.626 GB, free: 3.625 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.5068, allocations: 4 kB / 0.626 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.5068, allocations: 0 / 0.626 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/0.507, allocations: 44.81 kB / 0.626 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.5071, allocations: 19.94 kB / 0.626 GB, free: 3.555 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.5082, allocations: 1.425 MB / 0.6274 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.5084, allocations: 31.94 kB / 0.6275 GB, free: 1.996 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.5084, allocations: 7.938 kB / 0.6275 GB, free: 1.988 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.0002343/0.5087, allocations: 145.6 kB / 0.6276 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.5087, allocations: 19.89 kB / 0.6276 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.5087, allocations: 21.41 kB / 0.6276 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5087, allocations: 0 / 0.6276 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5087, allocations: 0 / 0.6276 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5087, allocations: 0 / 0.6276 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.5089, allocations: 189.2 kB / 0.6278 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5089, allocations: 0 / 0.6278 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.322e-05/0.509, allocations: 11.98 kB / 0.6278 GB, free: 1.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.5091, allocations: 48.83 kB / 0.6279 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.5091, allocations: 0 / 0.6279 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008777/0.51, allocations: 1.429 MB / 0.6293 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.51, allocations: 4 kB / 0.6293 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/0.5106, allocations: 356.2 kB / 0.6296 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.5107, allocations: 27.86 kB / 0.6296 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.5107, allocations: 4 kB / 0.6296 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.5109, allocations: 27.95 kB / 0.6297 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.511, allocations: 7.984 kB / 0.6297 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.511, allocations: 0 / 0.6297 GB, free: 15.55 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004472/0.5114, allocations: 212.6 kB / 0.6299 GB, free: 15.35 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5114, allocations: 3.938 kB / 0.6299 GB, free: 15.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.5117, allocations: 32 kB / 0.6299 GB, free: 15.31 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.0001507/0.5119, allocations: 103.2 kB / 0.63 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005728/0.5124, allocations: 238.5 kB / 0.6302 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5124, allocations: 0 / 0.6302 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.5127, allocations: 178.6 kB / 0.6304 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.513, allocations: 23.88 kB / 0.6304 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009243/0.514, allocations: 394.2 kB / 0.6308 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.5141, allocations: 123.3 kB / 0.6309 GB, free: 14.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.5142, allocations: 15.44 kB / 0.6309 GB, free: 14.17 MB / 478.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5142, allocations: 0 / 0.6309 GB, free: 14.17 MB / 478.1 MB Notification: Performance of Templates: time 0.00568/0.5199, allocations: 2.795 MB / 0.6337 GB, free: 11.37 MB / 478.1 MB " [Timeout remaining time 659] 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: 9.166369759012014] Failed to read output from testmodel.py, exit status != 0: 0.5295037282630801 0.545398072 0.041303825 Calling exit ...