Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.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.001165/0.001165, allocations: 114.1 kB / 19.71 MB, free: 2.18 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.001386/0.001386, allocations: 216.3 kB / 23.02 MB, free: 5.027 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.32/1.32, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 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.5707/0.5707, allocations: 103.9 MB / 390 MB, free: 20.25 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.ReducedOrderSFR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR") translateModel(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR") [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.00225/0.00225, allocations: 71.89 kB / 0.5446 GB, free: 7.168 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3163, allocations: 75.98 MB / 0.6188 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003007/0.3193, allocations: 2.073 MB / 0.6208 GB, free: 8.633 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004212/0.3197, allocations: 155.7 kB / 0.6209 GB, free: 8.48 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.3198, allocations: 8 kB / 0.621 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.32, allocations: 19.73 kB / 0.621 GB, free: 8.453 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.3201, allocations: 35.66 kB / 0.621 GB, free: 8.418 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.3203, allocations: 59.94 kB / 0.6211 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.3205, allocations: 179.9 kB / 0.6212 GB, free: 8.18 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.3206, allocations: 61.66 kB / 0.6213 GB, free: 8.117 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.3207, allocations: 67.66 kB / 0.6214 GB, free: 8.051 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.792e-05/0.3208, allocations: 79.56 kB / 0.6214 GB, free: 7.973 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.3208, allocations: 20 kB / 0.6215 GB, free: 7.953 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.157e-05/0.3208, allocations: 20 kB / 0.6215 GB, free: 7.934 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.3209, allocations: 35.84 kB / 0.6215 GB, free: 7.898 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.952e-05/0.3209, allocations: 83.48 kB / 0.6216 GB, free: 7.816 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.3212, allocations: 215.1 kB / 0.6218 GB, free: 7.613 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3212, allocations: 0 / 0.6218 GB, free: 7.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3212, allocations: 0 / 0.6218 GB, free: 7.613 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.3212, allocations: 0 / 0.6218 GB, free: 7.613 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000589/0.3218, allocations: 421.3 kB / 0.6222 GB, free: 7.172 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3218, allocations: 8.031 kB / 0.6222 GB, free: 7.164 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.3218, allocations: 24.8 kB / 0.6222 GB, free: 7.141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.3221, allocations: 188.1 kB / 0.6224 GB, free: 6.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3221, allocations: 12.38 kB / 0.6224 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.3222, allocations: 12.38 kB / 0.6224 GB, free: 6.906 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.3224, allocations: 164.5 kB / 0.6226 GB, free: 6.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3224, allocations: 0 / 0.6226 GB, free: 6.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.3224, allocations: 7.938 kB / 0.6226 GB, free: 6.723 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3224, allocations: 4 kB / 0.6226 GB, free: 6.719 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.3226, allocations: 87.95 kB / 0.6227 GB, free: 6.633 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007183/0.3233, allocations: 0.6983 MB / 0.6234 GB, free: 5.871 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.3236, allocations: 114.5 kB / 0.6235 GB, free: 5.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.823e-05/0.3236, allocations: 36.84 kB / 0.6235 GB, free: 5.711 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3237, allocations: 11.94 kB / 0.6235 GB, free: 5.699 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.3237, allocations: 34.56 kB / 0.6236 GB, free: 5.656 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.3237, allocations: 0 / 0.6236 GB, free: 5.656 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003385/0.324, allocations: 157.7 kB / 0.6237 GB, free: 5.496 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.324, allocations: 55.41 kB / 0.6238 GB, free: 5.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3242, allocations: 196.5 kB / 0.6239 GB, free: 5.227 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.3242, allocations: 25.7 kB / 0.624 GB, free: 5.195 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.3243, allocations: 147.8 kB / 0.6241 GB, free: 5.047 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.3243, allocations: 39.66 kB / 0.6241 GB, free: 5.008 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.3244, allocations: 29.7 kB / 0.6242 GB, free: 4.973 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.623e-05/0.3244, allocations: 326.8 kB / 0.6245 GB, free: 4.645 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.3245, allocations: 35.98 kB / 0.6245 GB, free: 4.609 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.3246, allocations: 62.48 kB / 0.6246 GB, free: 4.539 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.325, allocations: 202.3 kB / 0.6248 GB, free: 4.336 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.325, allocations: 3.938 kB / 0.6248 GB, free: 4.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001997/0.3252, allocations: 149.5 kB / 0.6249 GB, free: 4.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3253, allocations: 7.75 kB / 0.6249 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3253, allocations: 0 / 0.6249 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3253, allocations: 7.938 kB / 0.6249 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3254, allocations: 23.98 kB / 0.625 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3254, allocations: 4 kB / 0.625 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.3255, allocations: 19.88 kB / 0.625 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3255, allocations: 4 kB / 0.625 GB, free: 4.117 MB / 462.1 MB Warning: Assuming fixed start value for the following 1 variables: reducedOrderSFR.firstOrder.y:VARIABLE(flow=false start = reducedOrderSFR.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (reducedOrderSFR.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.3256, allocations: 141.6 kB / 0.6251 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.3256, allocations: 15.91 kB / 0.6251 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.3257, allocations: 25.39 kB / 0.6252 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3257, allocations: 0 / 0.6252 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3257, allocations: 0 / 0.6252 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3257, allocations: 0 / 0.6252 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.3259, allocations: 232.6 kB / 0.6254 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3259, allocations: 0 / 0.6254 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.326, allocations: 19.98 kB / 0.6254 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.326, allocations: 4 kB / 0.6254 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.326, allocations: 4 kB / 0.6254 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.326, allocations: 0 / 0.6254 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.326, allocations: 0 / 0.6254 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.3263, allocations: 279.2 kB / 0.6257 GB, free: 3.348 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.3263, allocations: 23.86 kB / 0.6257 GB, free: 3.324 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.3263, allocations: 0 / 0.6257 GB, free: 3.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.3264, allocations: 4 kB / 0.6257 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.3265, allocations: 19.98 kB / 0.6257 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.3265, allocations: 0 / 0.6257 GB, free: 3.301 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.273e-05/0.3266, allocations: 149.5 kB / 0.6259 GB, free: 3.156 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3266, allocations: 0 / 0.6259 GB, free: 3.156 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000364/0.3269, allocations: 31.95 kB / 0.6259 GB, free: 3.125 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (reducedOrderSFR.integrator.y,reducedOrderSFR.firstOrder.y) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.244e-05/0.327, allocations: 91.25 kB / 0.626 GB, free: 3.023 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.3272, allocations: 99.83 kB / 0.6261 GB, free: 2.926 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3272, allocations: 4.125 kB / 0.6261 GB, free: 2.922 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.094e-05/0.3273, allocations: 47.92 kB / 0.6261 GB, free: 2.875 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.3276, allocations: 24.69 kB / 0.6261 GB, free: 2.852 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/0.3282, allocations: 345.7 kB / 0.6265 GB, free: 2.488 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.3283, allocations: 0.7279 MB / 0.6272 GB, free: 1.734 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.575e-05/0.3284, allocations: 17.08 kB / 0.6272 GB, free: 1.719 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.3284, allocations: 11.44 kB / 0.6272 GB, free: 1.707 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3284, allocations: 0 / 0.6272 GB, free: 1.707 MB / 462.1 MB Notification: Performance of Templates: time 0.003859/0.3323, allocations: 1.297 MB / 0.6285 GB, free: 428 kB / 462.1 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; mkfifo Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe >> ../files/Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.sim & ./Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.82800841704011] Failed to read output from testmodel.py, exit status != 0: 0.340695742983371 0.355491375 0.031289708 Calling exit ...