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.001442/0.001442, allocations: 105.7 kB / 17.54 MB, free: 4.766 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.001465/0.001465, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.285/1.285, allocations: 207.6 MB / 231.3 MB, free: 3.102 MB / 174.1 MB " [Timeout remaining time 179] 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.4997/0.4997, allocations: 101.8 MB / 385.2 MB, free: 15.41 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.001996/0.001996, allocations: 71.91 kB / 0.5377 GB, free: 5.188 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1232, allocations: 75.37 MB / 0.6113 GB, free: 9.727 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002842/0.1261, allocations: 1.871 MB / 0.6131 GB, free: 7.84 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009516/0.127, allocations: 0.6057 MB / 0.6137 GB, free: 7.227 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.1271, allocations: 4 kB / 0.6137 GB, free: 7.223 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.1274, allocations: 43.7 kB / 0.6137 GB, free: 7.18 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.1275, allocations: 51.7 kB / 0.6138 GB, free: 7.129 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.1277, allocations: 91.81 kB / 0.6139 GB, free: 7.039 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.128, allocations: 263.5 kB / 0.6141 GB, free: 6.781 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1281, allocations: 29.55 kB / 0.6141 GB, free: 6.75 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.1282, allocations: 103.7 kB / 0.6142 GB, free: 6.648 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.1284, allocations: 111.6 kB / 0.6143 GB, free: 6.539 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.1284, allocations: 16 kB / 0.6144 GB, free: 6.523 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.814e-05/0.1285, allocations: 16 kB / 0.6144 GB, free: 6.508 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.1286, allocations: 63.75 kB / 0.6144 GB, free: 6.445 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.675e-05/0.1286, allocations: 67.61 kB / 0.6145 GB, free: 6.379 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1289, allocations: 187.3 kB / 0.6147 GB, free: 6.195 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1289, allocations: 4 kB / 0.6147 GB, free: 6.191 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1289, allocations: 0 / 0.6147 GB, free: 6.191 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1289, allocations: 0 / 0.6147 GB, free: 6.191 MB / 478.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.001111/0.13, allocations: 0.5489 MB / 0.6152 GB, free: 5.598 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.13, allocations: 12.03 kB / 0.6152 GB, free: 5.586 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.1301, allocations: 42.73 kB / 0.6153 GB, free: 5.535 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.1301, allocations: 20.84 kB / 0.6153 GB, free: 5.516 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.1307, allocations: 300.9 kB / 0.6156 GB, free: 5.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.1307, allocations: 8.375 kB / 0.6156 GB, free: 5.172 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1307, allocations: 4.375 kB / 0.6156 GB, free: 5.168 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.1309, allocations: 125.6 kB / 0.6157 GB, free: 5.039 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.1309, allocations: 0 / 0.6157 GB, free: 5.039 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1309, allocations: 0 / 0.6157 GB, free: 5.039 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1309, allocations: 0 / 0.6157 GB, free: 5.039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.1312, allocations: 107.9 kB / 0.6158 GB, free: 4.934 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006689/0.1318, allocations: 472.5 kB / 0.6163 GB, free: 4.422 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.1322, allocations: 166.6 kB / 0.6164 GB, free: 4.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.1323, allocations: 52.83 kB / 0.6165 GB, free: 4.195 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.1323, allocations: 3.938 kB / 0.6165 GB, free: 4.191 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1324, allocations: 38.5 kB / 0.6165 GB, free: 4.145 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1324, allocations: 0 / 0.6165 GB, free: 4.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008027/0.1332, allocations: 339.6 kB / 0.6168 GB, free: 3.785 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.1332, allocations: 55.41 kB / 0.6169 GB, free: 3.719 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/0.1337, allocations: 281.1 kB / 0.6172 GB, free: 3.434 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1337, allocations: 29.64 kB / 0.6172 GB, free: 3.398 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.1338, allocations: 124 kB / 0.6173 GB, free: 3.273 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.1338, allocations: 31.73 kB / 0.6173 GB, free: 3.242 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.1339, allocations: 21.72 kB / 0.6174 GB, free: 3.215 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.134, allocations: 330.8 kB / 0.6177 GB, free: 2.883 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.434e-05/0.1341, allocations: 47.97 kB / 0.6177 GB, free: 2.836 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.472e-05/0.1342, allocations: 43.98 kB / 0.6178 GB, free: 2.793 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/0.135, allocations: 276.6 kB / 0.618 GB, free: 2.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.135, allocations: 0 / 0.618 GB, free: 2.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003761/0.1354, allocations: 206.2 kB / 0.6182 GB, free: 2.309 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1354, allocations: 8 kB / 0.6182 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1354, allocations: 0 / 0.6182 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.1356, allocations: 44.83 kB / 0.6183 GB, free: 2.254 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-05/0.1356, allocations: 19.98 kB / 0.6183 GB, free: 2.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.137, allocations: 1.543 MB / 0.6198 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.1372, allocations: 27.89 kB / 0.6198 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1372, allocations: 4 kB / 0.6198 GB, free: 0.5156 MB / 478.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.00015/0.1373, allocations: 142 kB / 0.62 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.1374, allocations: 23.88 kB / 0.62 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.1374, allocations: 21.41 kB / 0.62 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1374, allocations: 3.938 kB / 0.62 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.1374, allocations: 0 / 0.62 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1374, allocations: 0 / 0.62 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.1377, allocations: 257.5 kB / 0.6202 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1377, allocations: 4 kB / 0.6203 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.1378, allocations: 20.02 kB / 0.6203 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/0.1379, allocations: 48.83 kB / 0.6203 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1379, allocations: 7.984 kB / 0.6203 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.1392, allocations: 1.543 MB / 0.6218 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1392, allocations: 0 / 0.6218 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.1397, allocations: 356 kB / 0.6222 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.1398, allocations: 101 kB / 0.6223 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1398, allocations: 4.109 kB / 0.6223 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.14, allocations: 32.11 kB / 0.6223 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.1401, allocations: 7.969 kB / 0.6223 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1401, allocations: 11.88 kB / 0.6223 GB, free: 13.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004155/0.1405, allocations: 221.4 kB / 0.6225 GB, free: 13.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1405, allocations: 0 / 0.6225 GB, free: 13.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1407, allocations: 24 kB / 0.6226 GB, free: 13.48 MB / 494.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.0008053/0.1415, allocations: 0.881 MB / 0.6234 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004343/0.142, allocations: 238.4 kB / 0.6236 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.142, allocations: 0 / 0.6236 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.1422, allocations: 178.7 kB / 0.6238 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.1425, allocations: 20.36 kB / 0.6238 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.146, allocations: 2.357 MB / 0.6261 GB, free: 9.672 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.1463, allocations: 0.7319 MB / 0.6269 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.451e-05/0.1464, allocations: 20.62 kB / 0.6269 GB, free: 8.895 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/0.1465, allocations: 47.42 kB / 0.6269 GB, free: 8.848 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1465, allocations: 0 / 0.6269 GB, free: 8.848 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.1777, allocations: 3.879 MB / 0.6307 GB, free: 5.031 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.378/9.555, allocations: 3.438 kB / 0.6307 GB, free: 5.031 MB / 494.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 --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: 12.490682752002613]