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.001414/0.001414, allocations: 109.5 kB / 17.14 MB, free: 5.93 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.00144/0.00144, allocations: 204 kB / 20.11 MB, free: 2.977 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.651/1.651, allocations: 207.6 MB / 230.5 MB, free: 4.035 MB / 174.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.6522/0.6522, allocations: 104 MB / 386.3 MB, free: 14.03 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.002288/0.002288, allocations: 63.91 kB / 0.5395 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2138, allocations: 75.95 MB / 0.6136 GB, free: 5.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.00383/0.2176, allocations: 1.857 MB / 0.6155 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2189, allocations: 0.5824 MB / 0.616 GB, free: 2.969 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.219, allocations: 3.938 kB / 0.616 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.2194, allocations: 51.7 kB / 0.6161 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.2196, allocations: 55.75 kB / 0.6161 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.2198, allocations: 59.92 kB / 0.6162 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.2202, allocations: 271.5 kB / 0.6165 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2203, allocations: 29.48 kB / 0.6165 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.2205, allocations: 103.7 kB / 0.6166 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.2207, allocations: 119.5 kB / 0.6167 GB, free: 2.285 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.2208, allocations: 16 kB / 0.6167 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.932e-05/0.2208, allocations: 16 kB / 0.6167 GB, free: 2.254 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.869e-05/0.2209, allocations: 51.83 kB / 0.6168 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.831e-05/0.221, allocations: 75.53 kB / 0.6168 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.2213, allocations: 211.2 kB / 0.617 GB, free: 1.922 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2213, allocations: 4 kB / 0.6171 GB, free: 1.918 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2213, allocations: 0 / 0.6171 GB, free: 1.918 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.2213, allocations: 0 / 0.6171 GB, free: 1.918 MB / 478.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.001353/0.2227, allocations: 0.5298 MB / 0.6176 GB, free: 1.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.2227, allocations: 8.031 kB / 0.6176 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.2228, allocations: 20.84 kB / 0.6176 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006418/0.2234, allocations: 304.5 kB / 0.6179 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2234, allocations: 4.375 kB / 0.6179 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.2235, allocations: 8.375 kB / 0.6179 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.2237, allocations: 113.9 kB / 0.618 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2237, allocations: 0 / 0.618 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.2238, allocations: 0 / 0.618 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.2238, allocations: 4 kB / 0.618 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.224, allocations: 103.9 kB / 0.6181 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008815/0.2249, allocations: 0.5193 MB / 0.6186 GB, free: 164 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.2254, allocations: 170.7 kB / 0.6188 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.2255, allocations: 44.84 kB / 0.6188 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.2255, allocations: 15.98 kB / 0.6188 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.2256, allocations: 30.56 kB / 0.6189 GB, free: 15.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2256, allocations: 0 / 0.6189 GB, free: 15.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009572/0.2265, allocations: 335.3 kB / 0.6192 GB, free: 15.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.2266, allocations: 59.34 kB / 0.6192 GB, free: 15.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00055/0.2271, allocations: 274.2 kB / 0.6195 GB, free: 15.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.2272, allocations: 25.7 kB / 0.6195 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.2273, allocations: 120.1 kB / 0.6196 GB, free: 15.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.2273, allocations: 39.62 kB / 0.6197 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.2274, allocations: 25.72 kB / 0.6197 GB, free: 14.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2275, allocations: 326.8 kB / 0.62 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.2276, allocations: 47.97 kB / 0.6201 GB, free: 14.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/0.2277, allocations: 48.34 kB / 0.6201 GB, free: 14.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008849/0.2286, allocations: 268.7 kB / 0.6204 GB, free: 14.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2286, allocations: 0 / 0.6204 GB, free: 14.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004188/0.229, allocations: 206.2 kB / 0.6206 GB, free: 14.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2291, allocations: 8 kB / 0.6206 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2291, allocations: 0 / 0.6206 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/0.2293, allocations: 44.83 kB / 0.6206 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.2294, allocations: 19.92 kB / 0.6206 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.2309, allocations: 1.555 MB / 0.6222 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.2312, allocations: 31.89 kB / 0.6222 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.2312, allocations: 0 / 0.6222 GB, free: 12.25 MB / 494.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.0002328/0.2314, allocations: 155.5 kB / 0.6223 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.2314, allocations: 15.91 kB / 0.6223 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.2315, allocations: 21.39 kB / 0.6224 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2315, allocations: 3.938 kB / 0.6224 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.2315, allocations: 7.938 kB / 0.6224 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2315, allocations: 0 / 0.6224 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.2318, allocations: 265.4 kB / 0.6226 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2318, allocations: 4 kB / 0.6226 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.819e-05/0.2319, allocations: 15.98 kB / 0.6226 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/0.2321, allocations: 44.83 kB / 0.6227 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.2321, allocations: 0 / 0.6227 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.2335, allocations: 1.559 MB / 0.6242 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2335, allocations: 0 / 0.6242 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.2341, allocations: 352.1 kB / 0.6246 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.293e-05/0.2341, allocations: 97.05 kB / 0.6246 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.2342, allocations: 7.984 kB / 0.6247 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.2344, allocations: 23.97 kB / 0.6247 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.2344, allocations: 7.984 kB / 0.6247 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.2344, allocations: 0 / 0.6247 GB, free: 9.453 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004456/0.2349, allocations: 228.2 kB / 0.6249 GB, free: 9.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2349, allocations: 3.938 kB / 0.6249 GB, free: 9.227 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.2352, allocations: 35.94 kB / 0.6249 GB, free: 9.191 MB / 494.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.000151/0.2353, allocations: 95.25 kB / 0.625 GB, free: 9.086 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005579/0.2359, allocations: 238.6 kB / 0.6253 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2359, allocations: 0 / 0.6253 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.2362, allocations: 178.6 kB / 0.6254 GB, free: 8.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.2365, allocations: 19.12 kB / 0.6254 GB, free: 8.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008248/0.2373, allocations: 364.3 kB / 0.6258 GB, free: 8.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.2377, allocations: 0.728 MB / 0.6265 GB, free: 7.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.2378, allocations: 24.86 kB / 0.6265 GB, free: 7.473 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.2378, allocations: 15.44 kB / 0.6265 GB, free: 7.457 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2378, allocations: 0 / 0.6265 GB, free: 7.457 MB / 494.1 MB Notification: Performance of Templates: time 0.005889/0.2437, allocations: 1.88 MB / 0.6284 GB, free: 5.582 MB / 494.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: 6.54610450565815] Failed to read output from testmodel.py, exit status != 0: 0.25255321338772774 0.648547361 0.42465855599999996 Calling exit ...