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.001737/0.001737, allocations: 114.3 kB / 19.72 MB, free: 2.168 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.001764/0.001764, allocations: 220.8 kB / 23.03 MB, free: 4.969 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.539/1.539, allocations: 207.6 MB / 233.8 MB, free: 9.969 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.624/0.624, allocations: 103.9 MB / 390 MB, free: 20.42 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: "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="me",version="2.0",platforms={"static"}) [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.002542/0.002542, allocations: 76.31 kB / 0.5441 GB, free: 7.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3913, allocations: 75.99 MB / 0.6183 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003692/0.3949, allocations: 1.878 MB / 0.6201 GB, free: 8.742 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.396, allocations: 0.5737 MB / 0.6207 GB, free: 8.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.3961, allocations: 0 / 0.6207 GB, free: 8.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.3965, allocations: 51.69 kB / 0.6207 GB, free: 8.109 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.3967, allocations: 67.69 kB / 0.6208 GB, free: 8.043 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.3969, allocations: 71.89 kB / 0.6209 GB, free: 7.973 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.3973, allocations: 323.3 kB / 0.6212 GB, free: 7.656 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.3974, allocations: 29.73 kB / 0.6212 GB, free: 7.621 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.3976, allocations: 107.7 kB / 0.6213 GB, free: 7.516 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.3978, allocations: 119.5 kB / 0.6214 GB, free: 7.398 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.3978, allocations: 16 kB / 0.6214 GB, free: 7.383 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.61e-05/0.3978, allocations: 20 kB / 0.6215 GB, free: 7.363 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.3979, allocations: 43.84 kB / 0.6215 GB, free: 7.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.3979, allocations: 75.58 kB / 0.6216 GB, free: 7.246 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.3982, allocations: 210.4 kB / 0.6218 GB, free: 7.047 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3982, allocations: 0 / 0.6218 GB, free: 7.047 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3982, allocations: 0 / 0.6218 GB, free: 7.047 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.3982, allocations: 0 / 0.6218 GB, free: 7.047 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.00107/0.3992, allocations: 473.3 kB / 0.6222 GB, free: 6.555 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3993, allocations: 8.031 kB / 0.6222 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.3993, allocations: 42.73 kB / 0.6223 GB, free: 6.496 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.3994, allocations: 16.84 kB / 0.6223 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.3998, allocations: 242.1 kB / 0.6225 GB, free: 6.219 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3998, allocations: 8.359 kB / 0.6225 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.3999, allocations: 8.375 kB / 0.6225 GB, free: 6.203 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.4, allocations: 121.4 kB / 0.6227 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4001, allocations: 0 / 0.6227 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4001, allocations: 4 kB / 0.6227 GB, free: 6.078 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4001, allocations: 0 / 0.6227 GB, free: 6.078 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.4003, allocations: 103.9 kB / 0.6228 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.4008, allocations: 0.4911 MB / 0.6232 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.4012, allocations: 154.6 kB / 0.6234 GB, free: 5.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.398e-05/0.4013, allocations: 52.92 kB / 0.6234 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.4013, allocations: 7.938 kB / 0.6234 GB, free: 5.207 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.4013, allocations: 34.56 kB / 0.6235 GB, free: 5.164 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.4013, allocations: 0 / 0.6235 GB, free: 5.164 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006873/0.402, allocations: 262.2 kB / 0.6237 GB, free: 4.898 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.402, allocations: 63.72 kB / 0.6238 GB, free: 4.824 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.4024, allocations: 270.9 kB / 0.6241 GB, free: 4.547 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.4024, allocations: 25.7 kB / 0.6241 GB, free: 4.516 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.4025, allocations: 116.1 kB / 0.6242 GB, free: 4.398 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.4025, allocations: 47.61 kB / 0.6242 GB, free: 4.352 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.4026, allocations: 25.72 kB / 0.6243 GB, free: 4.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.4026, allocations: 330.8 kB / 0.6246 GB, free: 3.988 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.4027, allocations: 39.98 kB / 0.6246 GB, free: 3.949 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.4028, allocations: 51.91 kB / 0.6247 GB, free: 3.898 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.4034, allocations: 272.6 kB / 0.6249 GB, free: 3.629 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4034, allocations: 0 / 0.6249 GB, free: 3.629 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002939/0.4037, allocations: 206.2 kB / 0.6251 GB, free: 3.418 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4038, allocations: 8 kB / 0.6251 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4038, allocations: 0 / 0.6251 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.4039, allocations: 44.83 kB / 0.6252 GB, free: 3.363 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.34e-05/0.404, allocations: 15.98 kB / 0.6252 GB, free: 3.348 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009084/0.4049, allocations: 1.448 MB / 0.6266 GB, free: 1.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.4051, allocations: 31.94 kB / 0.6266 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4051, allocations: 4 kB / 0.6266 GB, free: 1.75 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.0001773/0.4053, allocations: 153.6 kB / 0.6268 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.4053, allocations: 15.91 kB / 0.6268 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.4054, allocations: 17.41 kB / 0.6268 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4054, allocations: 3.938 kB / 0.6268 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4054, allocations: 3.938 kB / 0.6268 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4054, allocations: 3.984 kB / 0.6268 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.4056, allocations: 240.6 kB / 0.627 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4056, allocations: 0 / 0.627 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-05/0.4056, allocations: 11.98 kB / 0.6271 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/0.4057, allocations: 44.83 kB / 0.6271 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.4058, allocations: 0 / 0.6271 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009463/0.4067, allocations: 1.463 MB / 0.6285 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4067, allocations: 0 / 0.6285 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005504/0.4073, allocations: 356.4 kB / 0.6289 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.4073, allocations: 19.89 kB / 0.6289 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.4073, allocations: 8 kB / 0.6289 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.4075, allocations: 19.97 kB / 0.6289 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.4076, allocations: 7.984 kB / 0.6289 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.4076, allocations: 7.938 kB / 0.6289 GB, free: 15.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003986/0.408, allocations: 216.5 kB / 0.6291 GB, free: 15 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.408, allocations: 0 / 0.6291 GB, free: 15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.4083, allocations: 39.88 kB / 0.6292 GB, free: 14.96 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.0008579/0.4091, allocations: 0.881 MB / 0.63 GB, free: 14.04 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004936/0.4096, allocations: 238.5 kB / 0.6303 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4096, allocations: 0 / 0.6303 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.4099, allocations: 182.7 kB / 0.6304 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.4102, allocations: 16 kB / 0.6305 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.4137, allocations: 2.338 MB / 0.6327 GB, free: 11.17 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.4141, allocations: 0.7319 MB / 0.6335 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.971e-05/0.4141, allocations: 24.89 kB / 0.6335 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.4142, allocations: 43.42 kB / 0.6335 GB, free: 10.34 MB / 478.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4142, allocations: 0 / 0.6335 GB, free: 10.34 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03805/0.4523, allocations: 3.951 MB / 0.6374 GB, free: 6.457 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.18, allocations: 11.81 kB / 0.6374 GB, free: 6.445 MB / 478.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-06 Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR.fmu > Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.444197492906824] Failed to read output from testmodel.py, exit status != 0: 12.286362464074045 12.309235239 11.907907903 Calling exit ...