Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 106.6 kB / 16.4 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 191.7 kB / 19.36 MB, free: 3.727 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.493/1.493, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/package.mo): time 0.4455/0.4455, allocations: 100.7 MB / 377.3 MB, free: 4.996 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-master/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_dev_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 67.88 kB / 0.5214 GB, free: 8.305 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3884, allocations: 71.45 MB / 0.5912 GB, free: 22.87 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002701/0.3912, allocations: 1.854 MB / 0.593 GB, free: 21.42 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008686/0.3921, allocations: 0.5908 MB / 0.5936 GB, free: 20.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.15e-05/0.3922, allocations: 1.375 kB / 0.5936 GB, free: 20.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.3925, allocations: 42.7 kB / 0.5936 GB, free: 20.92 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.3927, allocations: 65.44 kB / 0.5937 GB, free: 20.87 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.3929, allocations: 81.64 kB / 0.5937 GB, free: 20.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.3931, allocations: 266.7 kB / 0.594 GB, free: 20.64 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3933, allocations: 44.77 kB / 0.594 GB, free: 20.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3934, allocations: 92.86 kB / 0.5941 GB, free: 20.56 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.3935, allocations: 107.2 kB / 0.5942 GB, free: 20.49 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.3936, allocations: 16.5 kB / 0.5942 GB, free: 20.49 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.972e-05/0.3936, allocations: 16.5 kB / 0.5943 GB, free: 20.49 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.3937, allocations: 52.2 kB / 0.5943 GB, free: 20.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.3938, allocations: 70.61 kB / 0.5944 GB, free: 20.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.394, allocations: 197.4 kB / 0.5946 GB, free: 20.24 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.394, allocations: 1.375 kB / 0.5946 GB, free: 20.24 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.394, allocations: 0 / 0.5946 GB, free: 20.24 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.394, allocations: 0 / 0.5946 GB, free: 20.24 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.001026/0.395, allocations: 0.5401 MB / 0.5951 GB, free: 19.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3951, allocations: 9.719 kB / 0.5951 GB, free: 19.75 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.3951, allocations: 41.58 kB / 0.5951 GB, free: 19.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.3952, allocations: 17.38 kB / 0.5952 GB, free: 19.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005074/0.3957, allocations: 312.4 kB / 0.5955 GB, free: 19.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3957, allocations: 10.81 kB / 0.5955 GB, free: 19.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.3957, allocations: 5.562 kB / 0.5955 GB, free: 19.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.3959, allocations: 117.8 kB / 0.5956 GB, free: 19.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.396, allocations: 0 / 0.5956 GB, free: 19.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.396, allocations: 1.906 kB / 0.5956 GB, free: 19.31 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.396, allocations: 1.438 kB / 0.5956 GB, free: 19.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.3962, allocations: 113 kB / 0.5957 GB, free: 19.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.3968, allocations: 474.9 kB / 0.5961 GB, free: 18.83 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.3972, allocations: 156.6 kB / 0.5963 GB, free: 18.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3973, allocations: 61.64 kB / 0.5964 GB, free: 18.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.3973, allocations: 1.562 kB / 0.5964 GB, free: 18.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.3974, allocations: 36 kB / 0.5964 GB, free: 18.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.3974, allocations: 0 / 0.5964 GB, free: 18.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.000766/0.3981, allocations: 346.8 kB / 0.5967 GB, free: 18.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.3982, allocations: 52.59 kB / 0.5968 GB, free: 18.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004497/0.3986, allocations: 280.3 kB / 0.597 GB, free: 18.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.3986, allocations: 26.55 kB / 0.5971 GB, free: 18.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.3987, allocations: 119.9 kB / 0.5972 GB, free: 18.01 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.3987, allocations: 44.25 kB / 0.5972 GB, free: 17.97 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.3988, allocations: 24.55 kB / 0.5972 GB, free: 17.95 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.3989, allocations: 327.4 kB / 0.5976 GB, free: 17.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.709e-05/0.3989, allocations: 45.44 kB / 0.5976 GB, free: 17.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.712e-05/0.399, allocations: 46.98 kB / 0.5976 GB, free: 17.58 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007568/0.3998, allocations: 267.9 kB / 0.5979 GB, free: 17.44 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3998, allocations: 0 / 0.5979 GB, free: 17.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003301/0.4001, allocations: 210.1 kB / 0.5981 GB, free: 17.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4002, allocations: 4.219 kB / 0.5981 GB, free: 17.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4002, allocations: 0.9062 kB / 0.5981 GB, free: 17.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.4004, allocations: 48.25 kB / 0.5981 GB, free: 17.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.38e-05/0.4004, allocations: 11.22 kB / 0.5982 GB, free: 17.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009552/0.4014, allocations: 1.552 MB / 0.5997 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.4016, allocations: 33.94 kB / 0.5997 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.4016, allocations: 6.938 kB / 0.5997 GB, free: 15.7 MB / 462.1 MB Warning: Assuming fixed start value for the following 2 variables: simplifiedSFR.feedbackLoop.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] simplifiedSFR.inertia.x_scaled[1]:VARIABLE(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.000132/0.4018, allocations: 133.7 kB / 0.5998 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.4018, allocations: 15.25 kB / 0.5999 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.4018, allocations: 21.97 kB / 0.5999 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4018, allocations: 6.312 kB / 0.5999 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4019, allocations: 1.312 kB / 0.5999 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4019, allocations: 7.984 kB / 0.5999 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.4021, allocations: 261.7 kB / 0.6001 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4021, allocations: 0 / 0.6001 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/0.4022, allocations: 16.84 kB / 0.6002 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.4023, allocations: 44.02 kB / 0.6002 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.4023, allocations: 9.234 kB / 0.6002 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008286/0.4032, allocations: 1.55 MB / 0.6017 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4032, allocations: 0 / 0.6017 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.4036, allocations: 354.6 kB / 0.6021 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.4037, allocations: 95.53 kB / 0.6021 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.4037, allocations: 5.094 kB / 0.6022 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.4039, allocations: 22.34 kB / 0.6022 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.404, allocations: 12.05 kB / 0.6022 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.404, allocations: 9.781 kB / 0.6022 GB, free: 13.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003557/0.4043, allocations: 212.6 kB / 0.6024 GB, free: 13.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4043, allocations: 0 / 0.6024 GB, free: 13.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.4046, allocations: 32.5 kB / 0.6024 GB, free: 13.14 MB / 462.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.0006184/0.4052, allocations: 0.8731 MB / 0.6033 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004075/0.4056, allocations: 249.8 kB / 0.6035 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4057, allocations: 4.062 kB / 0.6035 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.4059, allocations: 179 kB / 0.6037 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.4062, allocations: 30.33 kB / 0.6037 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.4093, allocations: 2.347 MB / 0.606 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.4095, allocations: 0.7296 MB / 0.6067 GB, free: 9.488 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.087e-05/0.4096, allocations: 26.69 kB / 0.6068 GB, free: 9.477 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.4096, allocations: 48.89 kB / 0.6068 GB, free: 9.434 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4096, allocations: 1.562 kB / 0.6068 GB, free: 9.434 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.4384, allocations: 3.887 MB / 0.6106 GB, free: 7.457 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.565/10, allocations: 3.609 kB / 0.6106 GB, free: 7.457 MB / 462.1 MB " [Timeout remaining time 650] (rm -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR.fmu > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.350173681043088] Failed to read output from testmodel.py, exit status != 0: 10.082795762107708 10.102336537 9.704414799 Calling exit ...