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.00141/0.00141, allocations: 109 kB / 20.47 MB, free: 1.504 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.001578/0.001578, allocations: 214.1 kB / 23.78 MB, free: 4.734 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.549/1.549, allocations: 207.6 MB / 234.5 MB, free: 10 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.6176/0.6176, allocations: 103.9 MB / 390.7 MB, free: 20.38 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.002146/0.002146, allocations: 71.91 kB / 0.5453 GB, free: 7.203 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3357, allocations: 75.99 MB / 0.6195 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002202/0.3379, allocations: 1.875 MB / 0.6214 GB, free: 8.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006703/0.3386, allocations: 0.5854 MB / 0.6219 GB, free: 8.246 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.3386, allocations: 0 / 0.6219 GB, free: 8.246 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.3389, allocations: 43.72 kB / 0.622 GB, free: 8.203 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.339, allocations: 59.75 kB / 0.622 GB, free: 8.145 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.3392, allocations: 75.83 kB / 0.6221 GB, free: 8.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.3395, allocations: 319.4 kB / 0.6224 GB, free: 7.758 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.3396, allocations: 25.73 kB / 0.6224 GB, free: 7.727 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.3397, allocations: 115.6 kB / 0.6225 GB, free: 7.613 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.3398, allocations: 119.5 kB / 0.6227 GB, free: 7.496 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.3399, allocations: 16 kB / 0.6227 GB, free: 7.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.19e-05/0.3399, allocations: 20 kB / 0.6227 GB, free: 7.461 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.3399, allocations: 51.83 kB / 0.6227 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.34, allocations: 75.59 kB / 0.6228 GB, free: 7.336 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.3401, allocations: 199.3 kB / 0.623 GB, free: 7.148 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3401, allocations: 0 / 0.623 GB, free: 7.148 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3402, allocations: 0 / 0.623 GB, free: 7.148 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3402, allocations: 3.938 kB / 0.623 GB, free: 7.145 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.0009295/0.3411, allocations: 477.3 kB / 0.6235 GB, free: 6.648 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.3411, allocations: 8.031 kB / 0.6235 GB, free: 6.641 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.3412, allocations: 16.84 kB / 0.6235 GB, free: 6.625 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.3416, allocations: 242.1 kB / 0.6237 GB, free: 6.363 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3416, allocations: 4.375 kB / 0.6237 GB, free: 6.359 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.3416, allocations: 8.375 kB / 0.6237 GB, free: 6.352 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3418, allocations: 117.9 kB / 0.6238 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3418, allocations: 0 / 0.6238 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3418, allocations: 3.938 kB / 0.6238 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3418, allocations: 4 kB / 0.6238 GB, free: 6.223 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.342, allocations: 111.3 kB / 0.6239 GB, free: 6.117 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.3426, allocations: 495 kB / 0.6244 GB, free: 5.578 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.3429, allocations: 158.6 kB / 0.6246 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.301e-05/0.343, allocations: 52.92 kB / 0.6246 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.343, allocations: 8 kB / 0.6246 GB, free: 5.352 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.343, allocations: 38.5 kB / 0.6247 GB, free: 5.305 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.343, allocations: 0 / 0.6247 GB, free: 5.305 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006541/0.3437, allocations: 270.1 kB / 0.6249 GB, free: 5.031 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/0.3437, allocations: 51.41 kB / 0.625 GB, free: 4.969 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.3441, allocations: 274.9 kB / 0.6252 GB, free: 4.688 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.3441, allocations: 25.7 kB / 0.6253 GB, free: 4.656 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.3441, allocations: 124 kB / 0.6254 GB, free: 4.531 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.3441, allocations: 35.69 kB / 0.6254 GB, free: 4.496 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.3442, allocations: 21.72 kB / 0.6254 GB, free: 4.469 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.3442, allocations: 330.8 kB / 0.6257 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.3443, allocations: 43.98 kB / 0.6258 GB, free: 4.094 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.3444, allocations: 51.97 kB / 0.6258 GB, free: 4.043 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/0.345, allocations: 264.6 kB / 0.6261 GB, free: 3.781 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.345, allocations: 0 / 0.6261 GB, free: 3.781 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000287/0.3453, allocations: 206.2 kB / 0.6263 GB, free: 3.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.3453, allocations: 4 kB / 0.6263 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3453, allocations: 0 / 0.6263 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001469/0.3455, allocations: 44.83 kB / 0.6263 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.906e-05/0.3456, allocations: 19.98 kB / 0.6264 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00083/0.3464, allocations: 1.456 MB / 0.6278 GB, free: 1.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.3466, allocations: 31.94 kB / 0.6278 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.3466, allocations: 0 / 0.6278 GB, free: 1.898 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.000146/0.3467, allocations: 153.6 kB / 0.628 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.3468, allocations: 19.97 kB / 0.628 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.3468, allocations: 21.41 kB / 0.628 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3468, allocations: 4 kB / 0.628 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3468, allocations: 3.938 kB / 0.628 GB, free: 1.699 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3468, allocations: 3.984 kB / 0.628 GB, free: 1.695 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.347, allocations: 228.6 kB / 0.6282 GB, free: 1.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.347, allocations: 0 / 0.6282 GB, free: 1.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.443e-05/0.3471, allocations: 19.92 kB / 0.6282 GB, free: 1.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001147/0.3472, allocations: 48.83 kB / 0.6283 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3472, allocations: 8 kB / 0.6283 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000868/0.3481, allocations: 1.455 MB / 0.6297 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3481, allocations: 4.031 kB / 0.6297 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.3486, allocations: 352 kB / 0.6301 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.3487, allocations: 23.92 kB / 0.6301 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.3487, allocations: 0 / 0.6301 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3489, allocations: 28.09 kB / 0.6301 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.349, allocations: 7.984 kB / 0.6301 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.349, allocations: 4 kB / 0.6301 GB, free: 15.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003987/0.3494, allocations: 216.3 kB / 0.6303 GB, free: 15.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3494, allocations: 4 kB / 0.6303 GB, free: 15.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.3496, allocations: 32 kB / 0.6304 GB, free: 15.11 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.0001168/0.3497, allocations: 95.25 kB / 0.6304 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004926/0.3502, allocations: 238.5 kB / 0.6307 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3502, allocations: 0 / 0.6307 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.3505, allocations: 186.6 kB / 0.6309 GB, free: 14.56 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.3508, allocations: 19.98 kB / 0.6309 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007684/0.3515, allocations: 394.1 kB / 0.6312 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.3519, allocations: 0.7319 MB / 0.632 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.352, allocations: 15.44 kB / 0.632 GB, free: 13.35 MB / 478.1 MB Notification: Performance of SimCode: time 2.9e-07/0.352, allocations: 0 / 0.632 GB, free: 13.35 MB / 478.1 MB Notification: Performance of Templates: time 0.005077/0.3571, allocations: 2.752 MB / 0.6347 GB, free: 10.59 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: 7.872860099188983] Failed to read output from testmodel.py, exit status != 0: 0.3651807438582182 0.37866341800000003 0.035697756000000004 Calling exit ...