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.001812/0.001812, allocations: 96.36 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.002292/0.002292, allocations: 218.7 kB / 23.77 MB, free: 4.516 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.449/1.449, allocations: 207.7 MB / 234.6 MB, free: 9.773 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.5861/0.5861, allocations: 103.8 MB / 390.7 MB, free: 21.27 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.002407/0.002407, allocations: 72.47 kB / 0.5452 GB, free: 7.07 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2999, allocations: 75.99 MB / 0.6194 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002439/0.3024, allocations: 1.824 MB / 0.6212 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008099/0.3032, allocations: 0.5349 MB / 0.6217 GB, free: 8.129 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.3032, allocations: 3.938 kB / 0.6217 GB, free: 8.125 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.3036, allocations: 47.7 kB / 0.6218 GB, free: 8.078 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.3037, allocations: 67.75 kB / 0.6218 GB, free: 8.012 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.3039, allocations: 67.89 kB / 0.6219 GB, free: 7.945 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.3042, allocations: 319.3 kB / 0.6222 GB, free: 7.633 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3043, allocations: 33.72 kB / 0.6222 GB, free: 7.594 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.3044, allocations: 111.6 kB / 0.6223 GB, free: 7.484 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.3046, allocations: 111.6 kB / 0.6225 GB, free: 7.375 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.3046, allocations: 16 kB / 0.6225 GB, free: 7.359 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.618e-05/0.3046, allocations: 16 kB / 0.6225 GB, free: 7.344 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.3047, allocations: 59.75 kB / 0.6225 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.3047, allocations: 55.72 kB / 0.6226 GB, free: 7.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.3049, allocations: 211.3 kB / 0.6228 GB, free: 7.031 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3049, allocations: 0 / 0.6228 GB, free: 7.031 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3049, allocations: 0 / 0.6228 GB, free: 7.031 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.3049, allocations: 0 / 0.6228 GB, free: 7.031 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.001002/0.3059, allocations: 473.3 kB / 0.6232 GB, free: 6.539 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.3059, allocations: 8.031 kB / 0.6233 GB, free: 6.531 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.306, allocations: 16.84 kB / 0.6233 GB, free: 6.516 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.3065, allocations: 242.1 kB / 0.6235 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3065, allocations: 12.31 kB / 0.6235 GB, free: 6.242 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.3065, allocations: 16.31 kB / 0.6235 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3067, allocations: 113.1 kB / 0.6236 GB, free: 6.113 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3067, allocations: 0 / 0.6236 GB, free: 6.113 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3067, allocations: 4 kB / 0.6236 GB, free: 6.109 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3067, allocations: 0 / 0.6236 GB, free: 6.109 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.3069, allocations: 111.9 kB / 0.6237 GB, free: 6 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.3074, allocations: 384.3 kB / 0.6241 GB, free: 5.594 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.3078, allocations: 158.6 kB / 0.6243 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.81e-05/0.3079, allocations: 52.83 kB / 0.6243 GB, free: 5.375 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.3079, allocations: 4 kB / 0.6243 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.181e-05/0.3079, allocations: 30.56 kB / 0.6243 GB, free: 5.332 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.3079, allocations: 0 / 0.6243 GB, free: 5.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007123/0.3086, allocations: 266.2 kB / 0.6246 GB, free: 5.062 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.3086, allocations: 59.33 kB / 0.6247 GB, free: 4.992 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.3091, allocations: 270.9 kB / 0.6249 GB, free: 4.715 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.3091, allocations: 29.7 kB / 0.6249 GB, free: 4.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.3091, allocations: 120 kB / 0.6251 GB, free: 4.559 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.3091, allocations: 35.69 kB / 0.6251 GB, free: 4.523 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.3092, allocations: 25.72 kB / 0.6251 GB, free: 4.492 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.3092, allocations: 330.8 kB / 0.6254 GB, free: 4.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.3093, allocations: 39.98 kB / 0.6255 GB, free: 4.121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.3094, allocations: 47.97 kB / 0.6255 GB, free: 4.074 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.3101, allocations: 264.6 kB / 0.6258 GB, free: 3.812 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3101, allocations: 7.922 kB / 0.6258 GB, free: 3.805 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003135/0.3104, allocations: 206.8 kB / 0.626 GB, free: 3.594 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3104, allocations: 4 kB / 0.626 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3104, allocations: 0 / 0.626 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.3106, allocations: 48.81 kB / 0.626 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.3107, allocations: 23.92 kB / 0.626 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008578/0.3115, allocations: 1.421 MB / 0.6274 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.3117, allocations: 27.95 kB / 0.6275 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3118, allocations: 12 kB / 0.6275 GB, free: 1.953 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.0001513/0.3119, allocations: 141.6 kB / 0.6276 GB, free: 1.809 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.3119, allocations: 15.91 kB / 0.6276 GB, free: 1.793 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.312, allocations: 25.39 kB / 0.6276 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.312, allocations: 4 kB / 0.6276 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.312, allocations: 0 / 0.6276 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.312, allocations: 0 / 0.6276 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.3122, allocations: 185.2 kB / 0.6278 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3122, allocations: 144 / 0.6278 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.084e-05/0.3123, allocations: 12 kB / 0.6278 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001197/0.3124, allocations: 56.73 kB / 0.6279 GB, free: 1.484 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3124, allocations: 0 / 0.6279 GB, free: 1.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009386/0.3133, allocations: 1.432 MB / 0.6293 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3133, allocations: 4.062 kB / 0.6293 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000654/0.314, allocations: 352.2 kB / 0.6296 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.314, allocations: 23.92 kB / 0.6297 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.3141, allocations: 4 kB / 0.6297 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.3143, allocations: 23.97 kB / 0.6297 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.3144, allocations: 7.984 kB / 0.6297 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.3144, allocations: 0 / 0.6297 GB, free: 15.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004523/0.3148, allocations: 220.5 kB / 0.6299 GB, free: 15.31 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3148, allocations: 0 / 0.6299 GB, free: 15.31 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.3151, allocations: 32 kB / 0.6299 GB, free: 15.28 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.0001081/0.3152, allocations: 91.25 kB / 0.63 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005371/0.3157, allocations: 250.5 kB / 0.6303 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3157, allocations: 4 kB / 0.6303 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.316, allocations: 174.6 kB / 0.6304 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.3163, 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.0007475/0.3171, allocations: 356.6 kB / 0.6308 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.3172, allocations: 127.2 kB / 0.6309 GB, free: 14.19 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.146e-05/0.3173, allocations: 24.95 kB / 0.6309 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.3173, allocations: 11.44 kB / 0.6309 GB, free: 14.15 MB / 478.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3173, allocations: 0 / 0.6309 GB, free: 14.15 MB / 478.1 MB Notification: Performance of Templates: time 0.00554/0.3228, allocations: 2.103 MB / 0.633 GB, free: 12.06 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 -s cvode -lv LOG_STATS > Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.122255405993201] Failed to read output from testmodel.py, exit status != 0: 0.3313104640110396 0.34559715700000004 0.037640825 Calling exit ...