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.001264/0.001264, allocations: 109 kB / 20.5 MB, free: 1.457 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.001409/0.001409, allocations: 211.5 kB / 23.81 MB, free: 4.672 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.441/1.441, allocations: 207.6 MB / 234.6 MB, free: 9.988 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.5737/0.5737, allocations: 103.9 MB / 390.8 MB, free: 20.43 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="cs",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.002129/0.002129, allocations: 67.91 kB / 0.5449 GB, free: 7.688 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3345, allocations: 75.99 MB / 0.6191 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002598/0.3371, allocations: 1.894 MB / 0.6209 GB, free: 8.738 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007874/0.3379, allocations: 0.566 MB / 0.6215 GB, free: 8.164 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.3379, allocations: 4 kB / 0.6215 GB, free: 8.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.3383, allocations: 47.69 kB / 0.6215 GB, free: 8.113 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.3384, allocations: 67.69 kB / 0.6216 GB, free: 8.047 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.3386, allocations: 75.89 kB / 0.6216 GB, free: 7.973 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.3389, allocations: 315.3 kB / 0.6219 GB, free: 7.664 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.339, allocations: 37.72 kB / 0.622 GB, free: 7.621 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.3391, allocations: 107.7 kB / 0.6221 GB, free: 7.516 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.3393, allocations: 115.5 kB / 0.6222 GB, free: 7.402 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.3393, allocations: 16 kB / 0.6222 GB, free: 7.387 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.122e-05/0.3393, allocations: 16 kB / 0.6222 GB, free: 7.371 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.3394, allocations: 59.81 kB / 0.6223 GB, free: 7.312 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.3394, allocations: 63.61 kB / 0.6223 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.3396, allocations: 210.4 kB / 0.6225 GB, free: 7.051 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3396, allocations: 4 kB / 0.6226 GB, free: 7.047 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3396, allocations: 0 / 0.6226 GB, free: 7.047 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3396, allocations: 0 / 0.6226 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.000955/0.3405, allocations: 469.3 kB / 0.623 GB, free: 6.559 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3406, allocations: 8.031 kB / 0.623 GB, free: 6.551 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.6e-05/0.3406, allocations: 4.188 kB / 0.623 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.507e-05/0.3406, allocations: 42.73 kB / 0.6231 GB, free: 6.496 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.3407, allocations: 16.84 kB / 0.6231 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.3411, allocations: 242.1 kB / 0.6233 GB, free: 6.219 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3411, allocations: 8.375 kB / 0.6233 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.3412, allocations: 4.375 kB / 0.6233 GB, free: 6.207 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.3413, allocations: 117.2 kB / 0.6234 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3414, allocations: 4 kB / 0.6234 GB, free: 6.086 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3414, allocations: 4 kB / 0.6234 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3414, allocations: 0 / 0.6234 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.3416, allocations: 107.9 kB / 0.6235 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.3421, allocations: 0.4911 MB / 0.624 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.3425, allocations: 158.5 kB / 0.6242 GB, free: 5.266 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.746e-05/0.3426, allocations: 56.92 kB / 0.6242 GB, free: 5.207 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.3426, allocations: 0 / 0.6242 GB, free: 5.207 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.302e-05/0.3426, allocations: 38.5 kB / 0.6243 GB, free: 5.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.3426, allocations: 7.922 kB / 0.6243 GB, free: 5.152 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007149/0.3433, allocations: 266.2 kB / 0.6245 GB, free: 4.883 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.3433, allocations: 55.41 kB / 0.6246 GB, free: 4.816 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.3438, allocations: 266.9 kB / 0.6248 GB, free: 4.543 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.3438, allocations: 29.7 kB / 0.6249 GB, free: 4.508 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.539e-05/0.3438, allocations: 120.1 kB / 0.625 GB, free: 4.387 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.3439, allocations: 35.7 kB / 0.625 GB, free: 4.352 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.3439, allocations: 25.7 kB / 0.625 GB, free: 4.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.592e-05/0.3439, allocations: 326.8 kB / 0.6253 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.344, allocations: 51.91 kB / 0.6254 GB, free: 3.941 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/0.3441, allocations: 39.98 kB / 0.6254 GB, free: 3.902 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.3448, allocations: 268.6 kB / 0.6257 GB, free: 3.637 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3448, allocations: 0 / 0.6257 GB, free: 3.637 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003805/0.3452, allocations: 218.2 kB / 0.6259 GB, free: 3.414 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3452, allocations: 4 kB / 0.6259 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3452, allocations: 0 / 0.6259 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.3454, allocations: 44.81 kB / 0.6259 GB, free: 3.363 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.3454, allocations: 12 kB / 0.6259 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000889/0.3463, allocations: 1.447 MB / 0.6274 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.3465, allocations: 27.94 kB / 0.6274 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3465, allocations: 8.062 kB / 0.6274 GB, free: 1.754 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.0001514/0.3467, allocations: 149.5 kB / 0.6275 GB, free: 1.602 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.3467, allocations: 15.91 kB / 0.6276 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.3468, allocations: 21.88 kB / 0.6276 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3468, allocations: 4.078 kB / 0.6276 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3468, allocations: 3.984 kB / 0.6276 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3468, allocations: 11.98 kB / 0.6276 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.347, allocations: 232.6 kB / 0.6278 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.347, allocations: 7.922 kB / 0.6278 GB, free: 1.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.3472, allocations: 8 kB / 0.6278 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.3473, allocations: 40.83 kB / 0.6279 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3473, allocations: 4 kB / 0.6279 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009099/0.3482, allocations: 1.459 MB / 0.6293 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3482, allocations: 0 / 0.6293 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.3488, allocations: 356.1 kB / 0.6296 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.3488, allocations: 19.92 kB / 0.6297 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3488, allocations: 4 kB / 0.6297 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.3491, allocations: 19.97 kB / 0.6297 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.3491, allocations: 23.84 kB / 0.6297 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.3491, allocations: 4.062 kB / 0.6297 GB, free: 15.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004203/0.3495, allocations: 212.3 kB / 0.6299 GB, free: 15 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3495, allocations: 0 / 0.6299 GB, free: 15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.3498, allocations: 35.94 kB / 0.6299 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.0008676/0.3507, allocations: 0.8773 MB / 0.6308 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005057/0.3512, allocations: 234.8 kB / 0.631 GB, free: 13.81 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3512, allocations: 4.25 kB / 0.631 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.3515, allocations: 190.5 kB / 0.6312 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.0002714/0.3518, allocations: 16.22 kB / 0.6312 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.3554, allocations: 2.341 MB / 0.6335 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.3558, allocations: 0.728 MB / 0.6342 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.727e-05/0.3558, allocations: 20.95 kB / 0.6342 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.008e-05/0.3559, allocations: 55.36 kB / 0.6343 GB, free: 10.33 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3559, allocations: 0 / 0.6343 GB, free: 10.33 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.385, allocations: 3.979 MB / 0.6382 GB, free: 6.426 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.13, allocations: 3.75 kB / 0.6382 GB, free: 6.426 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.271912912954576] Failed to read output from testmodel.py, exit status != 0: 12.29938229592517 12.32762233 11.982988139 Calling exit ...