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.001277/0.001277, allocations: 109.8 kB / 16.45 MB, free: 6.035 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.00125/0.00125, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.43/1.43, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.5766/0.5766, allocations: 103 MB / 384.6 MB, free: 20.5 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.91 kB / 0.5367 GB, free: 11.72 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3513, allocations: 75.64 MB / 0.6106 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002476/0.3538, allocations: 1.865 MB / 0.6124 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.000776/0.3546, allocations: 0.5971 MB / 0.613 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.895e-05/0.3547, allocations: 0 / 0.613 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.355, allocations: 43.7 kB / 0.613 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.3551, allocations: 59.69 kB / 0.6131 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.3553, allocations: 91.89 kB / 0.6132 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.3555, allocations: 267.4 kB / 0.6134 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3556, allocations: 25.55 kB / 0.6135 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.3557, allocations: 103.7 kB / 0.6135 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.3558, allocations: 107.6 kB / 0.6137 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.3559, allocations: 16 kB / 0.6137 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.027e-05/0.3559, allocations: 16 kB / 0.6137 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.356, allocations: 55.81 kB / 0.6137 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.356, allocations: 67.55 kB / 0.6138 GB, free: 9.953 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.3562, allocations: 194.4 kB / 0.614 GB, free: 9.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3562, allocations: 11.94 kB / 0.614 GB, free: 9.758 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.3562, allocations: 0 / 0.614 GB, free: 9.758 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3562, allocations: 0 / 0.614 GB, free: 9.758 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.0009743/0.3572, allocations: 0.5413 MB / 0.6145 GB, free: 9.168 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.3572, allocations: 12.03 kB / 0.6145 GB, free: 9.156 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.3572, allocations: 38.73 kB / 0.6146 GB, free: 9.109 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.3573, allocations: 20.84 kB / 0.6146 GB, free: 9.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.3577, allocations: 309.6 kB / 0.6149 GB, free: 8.746 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3577, allocations: 8.312 kB / 0.6149 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.3578, allocations: 8.375 kB / 0.6149 GB, free: 8.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.3579, allocations: 109.7 kB / 0.615 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.358, allocations: 0 / 0.615 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.358, allocations: 8 kB / 0.615 GB, free: 8.609 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.358, allocations: 0 / 0.615 GB, free: 8.609 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.3582, allocations: 103.9 kB / 0.6151 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.3587, allocations: 484.4 kB / 0.6156 GB, free: 7.984 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.359, allocations: 154.7 kB / 0.6157 GB, free: 7.824 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.405e-05/0.3591, allocations: 60.77 kB / 0.6158 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.3591, allocations: 4 kB / 0.6158 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.106e-05/0.3591, allocations: 30.56 kB / 0.6158 GB, free: 7.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.3591, allocations: 0 / 0.6158 GB, free: 7.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006847/0.3598, allocations: 339.3 kB / 0.6161 GB, free: 7.359 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.3599, allocations: 55.41 kB / 0.6162 GB, free: 7.293 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.3602, allocations: 281 kB / 0.6165 GB, free: 7.008 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.3603, allocations: 34.02 kB / 0.6165 GB, free: 6.969 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.3603, allocations: 112.1 kB / 0.6166 GB, free: 6.855 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.3603, allocations: 43.62 kB / 0.6166 GB, free: 6.812 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.3604, allocations: 25.72 kB / 0.6167 GB, free: 6.781 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.3604, allocations: 334.8 kB / 0.617 GB, free: 6.445 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.953e-05/0.3605, allocations: 51.91 kB / 0.617 GB, free: 6.395 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.3606, allocations: 39.98 kB / 0.6171 GB, free: 6.355 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.3613, allocations: 264.6 kB / 0.6173 GB, free: 6.094 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3613, allocations: 4 kB / 0.6173 GB, free: 6.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002943/0.3616, allocations: 202.2 kB / 0.6175 GB, free: 5.883 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3616, allocations: 8 kB / 0.6175 GB, free: 5.875 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3616, allocations: 4 kB / 0.6175 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.3617, allocations: 40.83 kB / 0.6176 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.3618, allocations: 15.98 kB / 0.6176 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009003/0.3627, allocations: 1.547 MB / 0.6191 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.3629, allocations: 35.94 kB / 0.6191 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3629, allocations: 4 kB / 0.6191 GB, free: 4.082 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.0001217/0.363, allocations: 141.8 kB / 0.6193 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.3631, allocations: 15.89 kB / 0.6193 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.3631, allocations: 21.41 kB / 0.6193 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3631, allocations: 3.938 kB / 0.6193 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3631, allocations: 0 / 0.6193 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3631, allocations: 0 / 0.6193 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.3633, allocations: 265.5 kB / 0.6196 GB, free: 3.582 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3633, allocations: 4 kB / 0.6196 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/0.3634, allocations: 12 kB / 0.6196 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.3635, allocations: 40.83 kB / 0.6196 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3635, allocations: 7.984 kB / 0.6196 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008115/0.3643, allocations: 1.547 MB / 0.6211 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3643, allocations: 0 / 0.6211 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.3647, allocations: 360.2 kB / 0.6215 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.3647, allocations: 89.05 kB / 0.6216 GB, free: 1.355 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.3648, allocations: 11.98 kB / 0.6216 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.365, allocations: 19.97 kB / 0.6216 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.365, allocations: 7.984 kB / 0.6216 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.365, allocations: 11.88 kB / 0.6216 GB, free: 1.305 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003225/0.3653, allocations: 221.5 kB / 0.6218 GB, free: 1.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3653, allocations: 0 / 0.6218 GB, free: 1.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.3656, allocations: 31.94 kB / 0.6219 GB, free: 1.059 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.000551/0.3661, allocations: 0.8767 MB / 0.6227 GB, free: 156 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.3666, allocations: 242.7 kB / 0.6229 GB, free: 15.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3666, allocations: 0 / 0.6229 GB, free: 15.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.3668, allocations: 174.7 kB / 0.6231 GB, free: 15.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.3671, allocations: 28.14 kB / 0.6231 GB, free: 15.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.3707, allocations: 2.354 MB / 0.6254 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3711, allocations: 0.7321 MB / 0.6262 GB, free: 12.49 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.056e-05/0.3711, allocations: 20.62 kB / 0.6262 GB, free: 12.47 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.3712, allocations: 51.42 kB / 0.6262 GB, free: 12.42 MB / 478.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3712, allocations: 7.938 kB / 0.6262 GB, free: 12.41 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.4003, allocations: 3.919 MB / 0.6301 GB, free: 8.621 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.606/10.01, allocations: 3.938 kB / 0.6301 GB, free: 8.617 MB / 478.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.00405602203682] Failed to read output from testmodel.py, exit status != 0: 10.083179478999227 10.09689825 9.737937285 Calling exit ...