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.001764/0.001764, allocations: 110 kB / 16.41 MB, free: 6.508 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.001893/0.001894, allocations: 191.7 kB / 19.35 MB, free: 3.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.406/1.406, allocations: 205.1 MB / 227.2 MB, free: 12.15 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.4537/0.4537, allocations: 101.5 MB / 378.1 MB, free: 4.199 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.002083/0.002083, allocations: 71.89 kB / 0.5225 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3964, allocations: 71.66 MB / 0.5925 GB, free: 8.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.00321/0.3997, allocations: 1.859 MB / 0.5943 GB, free: 6.137 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.4008, allocations: 0.5854 MB / 0.5949 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.988e-05/0.4009, allocations: 4 kB / 0.5949 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.4013, allocations: 43.77 kB / 0.5949 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.4015, allocations: 55.7 kB / 0.595 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.4017, allocations: 83.89 kB / 0.5951 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003332/0.402, allocations: 271.4 kB / 0.5953 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.4022, allocations: 41.53 kB / 0.5954 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.4023, allocations: 99.66 kB / 0.5955 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.4025, allocations: 95.66 kB / 0.5955 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/0.4026, allocations: 16 kB / 0.5956 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.166e-05/0.4026, allocations: 16 kB / 0.5956 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.49e-05/0.4027, allocations: 59.81 kB / 0.5956 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.571e-05/0.4028, allocations: 67.59 kB / 0.5957 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.4031, allocations: 201.4 kB / 0.5959 GB, free: 4.508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4031, allocations: 0 / 0.5959 GB, free: 4.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4031, allocations: 4 kB / 0.5959 GB, free: 4.504 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.4031, allocations: 0 / 0.5959 GB, free: 4.504 MB / 446.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.001143/0.4043, allocations: 0.5336 MB / 0.5964 GB, free: 3.922 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4043, allocations: 12.03 kB / 0.5964 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.4044, allocations: 34.75 kB / 0.5965 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.4044, allocations: 24.78 kB / 0.5965 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005865/0.405, allocations: 313.4 kB / 0.5968 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.405, allocations: 8.375 kB / 0.5968 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.4051, allocations: 8.375 kB / 0.5968 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.4053, allocations: 109.7 kB / 0.5969 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4053, allocations: 0 / 0.5969 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.4053, allocations: 11.98 kB / 0.5969 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4054, allocations: 4 kB / 0.5969 GB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.4056, allocations: 103.9 kB / 0.597 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007218/0.4063, allocations: 472.4 kB / 0.5975 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.4068, allocations: 170.5 kB / 0.5976 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.4069, allocations: 52.92 kB / 0.5977 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.4069, allocations: 0 / 0.5977 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.407, allocations: 30.56 kB / 0.5977 GB, free: 2.469 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.407, allocations: 0 / 0.5977 GB, free: 2.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008579/0.4078, allocations: 351.3 kB / 0.598 GB, free: 2.098 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.4079, allocations: 59.34 kB / 0.5981 GB, free: 2.027 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005124/0.4084, allocations: 273 kB / 0.5984 GB, free: 1.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.4084, allocations: 29.7 kB / 0.5984 GB, free: 1.715 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.642e-05/0.4085, allocations: 128.1 kB / 0.5985 GB, free: 1.586 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.4086, allocations: 39.62 kB / 0.5986 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.4086, allocations: 17.72 kB / 0.5986 GB, free: 1.523 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4088, allocations: 330.8 kB / 0.5989 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.87e-05/0.4089, allocations: 43.97 kB / 0.5989 GB, free: 1.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.995e-05/0.409, allocations: 47.97 kB / 0.599 GB, free: 1.102 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008378/0.4098, allocations: 269 kB / 0.5992 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4098, allocations: 0 / 0.5992 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003832/0.4102, allocations: 206.3 kB / 0.5994 GB, free: 0.625 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4103, allocations: 8 kB / 0.5994 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4103, allocations: 3.938 kB / 0.5994 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/0.4105, allocations: 40.83 kB / 0.5995 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.4106, allocations: 23.92 kB / 0.5995 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.412, allocations: 1.547 MB / 0.601 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.4122, allocations: 31.92 kB / 0.601 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.4123, allocations: 4 kB / 0.601 GB, free: 14.82 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.0001647/0.4124, allocations: 137.7 kB / 0.6012 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.4125, allocations: 15.91 kB / 0.6012 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.4125, allocations: 25.39 kB / 0.6012 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4125, allocations: 3.938 kB / 0.6012 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.4126, allocations: 4 kB / 0.6012 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4126, allocations: 0 / 0.6012 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.4129, allocations: 257.5 kB / 0.6015 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4129, allocations: 3.938 kB / 0.6015 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.413, allocations: 15.98 kB / 0.6015 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.4131, allocations: 44.83 kB / 0.6015 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.4132, allocations: 4 kB / 0.6015 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.4145, allocations: 1.551 MB / 0.603 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4145, allocations: 0 / 0.603 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.4151, allocations: 360 kB / 0.6034 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.4151, allocations: 97.05 kB / 0.6035 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.4152, allocations: 0 / 0.6035 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.4154, allocations: 31.95 kB / 0.6035 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.4154, allocations: 12.05 kB / 0.6035 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.4155, allocations: 3.938 kB / 0.6035 GB, free: 12.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004199/0.4159, allocations: 213.5 kB / 0.6037 GB, free: 11.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4159, allocations: 0 / 0.6037 GB, free: 11.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.4162, allocations: 27.94 kB / 0.6038 GB, free: 11.8 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.0008693/0.417, allocations: 0.8813 MB / 0.6046 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004919/0.4175, allocations: 250.5 kB / 0.6049 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4176, allocations: 0 / 0.6049 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.4178, allocations: 182.6 kB / 0.605 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.4182, allocations: 23.98 kB / 0.6051 GB, free: 10.42 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.4219, allocations: 2.349 MB / 0.6074 GB, free: 7.984 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.4222, allocations: 0.7321 MB / 0.6081 GB, free: 7.227 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.066e-05/0.4223, allocations: 32.56 kB / 0.6081 GB, free: 7.195 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/0.4224, allocations: 43.42 kB / 0.6081 GB, free: 7.152 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4224, allocations: 0 / 0.6081 GB, free: 7.152 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.4525, allocations: 3.869 MB / 0.6119 GB, free: 3.406 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.784/10.24, allocations: 17.27 kB / 0.6119 GB, free: 3.395 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.24525935901329] Failed to read output from testmodel.py, exit status != 0: 10.316713042091578 10.338393523 9.93148825 Calling exit ...