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.001057/0.001057, allocations: 77.88 kB / 21.46 MB, free: 3.047 MB / 18.57 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.002391/0.002391, allocations: 166 kB / 24.86 MB, free: 9.254 MB / 18.57 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 0.9633/0.9633, allocations: 158.6 MB / 186.8 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] 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.3964/0.3964, allocations: 76.92 MB / 316.1 MB, free: 10.59 MB / 298.7 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: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 408.4 MB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.423e-05, allocations: 6.25 kB / 408.4 MB, free: 15.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002384/0.002408, allocations: 1.862 MB / 410.3 MB, free: 14.1 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009211/0.003329, allocations: 0.5581 MB / 410.9 MB, free: 13.53 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.892e-05/0.003408, allocations: 0 / 410.9 MB, free: 13.53 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.00371, allocations: 51.64 kB / 410.9 MB, free: 13.48 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.003854, allocations: 59.69 kB / 411 MB, free: 13.42 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.004047, allocations: 95.78 kB / 411.1 MB, free: 13.33 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.004238, allocations: 199.8 kB / 411.2 MB, free: 13.13 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.004348, allocations: 33.78 kB / 411.3 MB, free: 13.1 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.004463, allocations: 79.8 kB / 411.4 MB, free: 13.02 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.004594, allocations: 95.73 kB / 411.5 MB, free: 12.93 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.004622, allocations: 16 kB / 411.5 MB, free: 12.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.106e-05/0.004643, allocations: 20 kB / 411.5 MB, free: 12.89 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.004703, allocations: 55.77 kB / 411.5 MB, free: 12.84 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.004748, allocations: 47.84 kB / 411.6 MB, free: 12.79 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.004889, allocations: 115.6 kB / 411.7 MB, free: 12.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004891, allocations: 0 / 411.7 MB, free: 12.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004892, allocations: 4 kB / 411.7 MB, free: 12.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.004897, allocations: 0 / 411.7 MB, free: 12.68 MB / 394.7 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.0005428/0.00544, allocations: 0.5032 MB / 412.2 MB, free: 12.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.005472, allocations: 8.031 kB / 412.2 MB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.005518, allocations: 20.84 kB / 412.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.005746, allocations: 209.5 kB / 412.4 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.005755, allocations: 4.375 kB / 412.4 MB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.005778, allocations: 12.36 kB / 412.5 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.005887, allocations: 70.12 kB / 412.5 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.005896, allocations: 4.172 kB / 412.5 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.005906, allocations: 4.375 kB / 412.5 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.005911, allocations: 3.938 kB / 412.5 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.461e-05/0.005975, allocations: 27.97 kB / 412.6 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.006361, allocations: 352.2 kB / 412.9 MB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.006549, allocations: 99.05 kB / 413 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.006577, allocations: 15.69 kB / 413 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.006585, allocations: 8 kB / 413 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.006604, allocations: 33.39 kB / 413.1 MB, free: 11.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.006606, allocations: 0 / 413.1 MB, free: 11.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003675/0.006973, allocations: 149.1 kB / 413.2 MB, free: 11.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.006996, allocations: 55.41 kB / 413.3 MB, free: 10.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.007139, allocations: 253.5 kB / 413.5 MB, free: 10.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.00715, allocations: 29.7 kB / 413.5 MB, free: 10.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.007211, allocations: 174.7 kB / 413.7 MB, free: 10.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.007247, allocations: 39.67 kB / 413.7 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.007282, allocations: 23.38 kB / 413.8 MB, free: 10.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.007388, allocations: 0.5078 MB / 414.3 MB, free: 9.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.00741, allocations: 7.984 kB / 414.3 MB, free: 9.898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.007428, allocations: 8 kB / 414.3 MB, free: 9.891 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.929e-05/0.007508, allocations: 52.12 kB / 414.3 MB, free: 9.836 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.007509, allocations: 0 / 414.3 MB, free: 9.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001503/0.00766, allocations: 109.1 kB / 414.5 MB, free: 9.719 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.007672, allocations: 12 kB / 414.5 MB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.007677, allocations: 0 / 414.5 MB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.007822, allocations: 39.59 kB / 414.5 MB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.609e-05/0.007868, allocations: 15.92 kB / 414.5 MB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008479/0.008716, allocations: 1.776 MB / 416.3 MB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.008778, allocations: 11.98 kB / 416.3 MB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.008784, allocations: 3.938 kB / 416.3 MB, free: 7.738 MB / 394.7 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.000154/0.008938, allocations: 177.5 kB / 416.5 MB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.00897, allocations: 23.84 kB / 416.5 MB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/0.008993, allocations: 25.45 kB / 416.5 MB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.008994, allocations: 4.031 kB / 416.5 MB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.008997, allocations: 0 / 416.5 MB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.009, allocations: 0 / 416.5 MB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.009135, allocations: 145.1 kB / 416.7 MB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.009137, allocations: 4 kB / 416.7 MB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.009188, allocations: 11.98 kB / 416.7 MB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001032/0.009292, allocations: 35.66 kB / 416.7 MB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.009302, allocations: 3.938 kB / 416.7 MB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008195/0.01012, allocations: 1.78 MB / 418.5 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01012, allocations: 0 / 418.5 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.01033, allocations: 279.3 kB / 418.8 MB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.01035, allocations: 19.91 kB / 418.8 MB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.01037, allocations: 3.984 kB / 418.8 MB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.01044, allocations: 12.06 kB / 418.8 MB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.01047, allocations: 7.984 kB / 418.8 MB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.01047, allocations: 4 kB / 418.8 MB, free: 5.039 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.794e-05/0.01056, allocations: 183.8 kB / 419 MB, free: 4.859 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01056, allocations: 0 / 419 MB, free: 4.859 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000176/0.01074, allocations: 32 kB / 419 MB, free: 4.828 MB / 394.7 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.546e-05/0.01083, allocations: 95.25 kB / 419.1 MB, free: 4.727 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002566/0.01109, allocations: 252.6 kB / 419.4 MB, free: 4.461 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01109, allocations: 0 / 419.4 MB, free: 4.461 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.01121, allocations: 205.5 kB / 419.6 MB, free: 4.238 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.01139, allocations: 16 kB / 419.6 MB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.01187, allocations: 322 kB / 419.9 MB, free: 3.879 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.474e-05/0.01191, allocations: 75.83 kB / 420 MB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.316e-05/0.01195, allocations: 12.97 kB / 420 MB, free: 3.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.012, allocations: 78.2 kB / 420.1 MB, free: 3.691 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/0.012, allocations: 0 / 420.1 MB, free: 3.691 MB / 394.7 MB Notification: Performance of Templates: time 0.003805/0.01581, allocations: 2.165 MB / 422.2 MB, free: 1.543 MB / 394.7 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=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1029723179526627]