Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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.001436/0.001436, allocations: 110.1 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.594/1.594, allocations: 230.6 MB / 253.4 MB, free: 14.49 MB / 206.1 MB " [Timeout remaining time 178] 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.00161/0.00161, allocations: 211 kB / 310 MB, free: 3.117 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5515/0.5515, allocations: 79.74 MB / 446.2 MB, free: 38.76 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 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.002535/0.002535, allocations: 78.69 kB / 0.5937 GB, free: 38.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1564, allocations: 73.31 MB / 0.6653 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008264/0.1646, allocations: 6.565 MB / 0.6717 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005387/0.17, allocations: 2.021 MB / 0.6737 GB, free: 9.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.1714, allocations: 12 kB / 0.6737 GB, free: 9.508 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009904/0.1724, allocations: 249.8 kB / 0.6739 GB, free: 9.262 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003297/0.1757, allocations: 0.8549 MB / 0.6748 GB, free: 8.406 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.1774, allocations: 0.6389 MB / 0.6754 GB, free: 7.773 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00262/0.18, allocations: 1.611 MB / 0.677 GB, free: 6.156 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004943/0.1805, allocations: 226.9 kB / 0.6772 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.1819, allocations: 0.6808 MB / 0.6778 GB, free: 5.238 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.1833, allocations: 0.8479 MB / 0.6787 GB, free: 4.387 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.1835, allocations: 124 kB / 0.6788 GB, free: 4.266 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007027/0.1842, allocations: 279.8 kB / 0.679 GB, free: 3.992 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.1846, allocations: 334.6 kB / 0.6794 GB, free: 3.664 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007177/0.1853, allocations: 0.668 MB / 0.68 GB, free: 2.992 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.1878, allocations: 1.688 MB / 0.6817 GB, free: 1.297 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.1878, allocations: 0 / 0.6817 GB, free: 1.297 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1878, allocations: 0 / 0.6817 GB, free: 1.297 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.623e-05/0.1878, allocations: 0 / 0.6817 GB, free: 1.297 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.01059/0.1984, allocations: 2.816 MB / 0.6844 GB, free: 14.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/0.1984, allocations: 8.031 kB / 0.6844 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.865e-05/0.1985, allocations: 22 kB / 0.6844 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/0.1987, allocations: 126.6 kB / 0.6846 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/0.204, allocations: 0.7952 MB / 0.6853 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/0.2059, allocations: 0.8307 MB / 0.6862 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004066/0.2063, allocations: 337.3 kB / 0.6865 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.2065, allocations: 87.89 kB / 0.6866 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/0.2089, allocations: 1.083 MB / 0.6876 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.2089, allocations: 3.938 kB / 0.6876 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.209, allocations: 35.98 kB / 0.6877 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.209, allocations: 16 kB / 0.6877 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.2113, allocations: 0.9838 MB / 0.6886 GB, free: 9.984 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007606/0.2189, allocations: 3.755 MB / 0.6923 GB, free: 6.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007817/0.2267, allocations: 2.002 MB / 0.6943 GB, free: 4.039 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.2285, allocations: 0.6137 MB / 0.6949 GB, free: 3.418 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.2286, allocations: 16.98 kB / 0.6949 GB, free: 3.402 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001817/0.2304, allocations: 0.8268 MB / 0.6957 GB, free: 2.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 3.156e-06/0.2304, allocations: 0 / 0.6957 GB, free: 2.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.03114/0.2615, allocations: 7.002 MB / 0.7025 GB, free: 11.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.2616, allocations: 123.8 kB / 0.7026 GB, free: 11.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.2637, allocations: 1.087 MB / 0.7037 GB, free: 10.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003091/0.264, allocations: 45.7 kB / 0.7037 GB, free: 10.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/0.2645, allocations: 0.4897 MB / 0.7042 GB, free: 9.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005141/0.265, allocations: 372.9 kB / 0.7046 GB, free: 9.367 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005629/0.2655, allocations: 287.5 kB / 0.7048 GB, free: 9.082 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2657, allocations: 301.1 kB / 0.7051 GB, free: 8.785 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.2675, allocations: 0.7574 MB / 0.7059 GB, free: 8.027 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.2694, allocations: 0.9225 MB / 0.7068 GB, free: 7.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02627/0.2957, allocations: 5.774 MB / 0.7124 GB, free: 1.207 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.2957, allocations: 7.938 kB / 0.7124 GB, free: 1.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01493/0.3107, allocations: 4.341 MB / 0.7167 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9e-05/0.3107, allocations: 59.41 kB / 0.7167 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.3108, allocations: 4 kB / 0.7167 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006283/0.3171, allocations: 1.588 MB / 0.7183 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.3187, allocations: 279.6 kB / 0.7185 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02215/0.3409, allocations: 8.427 MB / 0.7268 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.343, allocations: 203.2 kB / 0.727 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/0.3432, allocations: 59.97 kB / 0.727 GB, free: 2.074 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 2 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00077/0.344, allocations: 292.2 kB / 0.7273 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.3443, allocations: 131.2 kB / 0.7274 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01402/0.3583, allocations: 3.842 MB / 0.7312 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/0.3584, allocations: 12 kB / 0.7312 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/0.3584, allocations: 12 kB / 0.7312 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.354e-05/0.3584, allocations: 3.984 kB / 0.7312 GB, free: 13.75 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.3749, allocations: 5.404 MB / 0.7365 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.3749, allocations: 0 / 0.7365 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.3756, allocations: 99.89 kB / 0.7366 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006059/0.3816, allocations: 1.607 MB / 0.7381 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002123/0.3819, allocations: 23.94 kB / 0.7382 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02269/0.4045, allocations: 9.44 MB / 0.7474 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4045, allocations: 0 / 0.7474 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/0.4214, allocations: 4.712 MB / 0.752 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007267/0.4221, allocations: 158.8 kB / 0.7521 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005206/0.4226, allocations: 24 kB / 0.7522 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/0.4242, allocations: 107.9 kB / 0.7523 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008226/0.4251, allocations: 204.7 kB / 0.7525 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.4252, allocations: 27.98 kB / 0.7525 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001676/0.4269, allocations: 0.7315 MB / 0.7532 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.4269, allocations: 0 / 0.7532 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002165/0.4291, allocations: 475.7 kB / 0.7537 GB, free: 6.363 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01664/0.4457, allocations: 5.307 MB / 0.7588 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007523/0.4532, allocations: 2.38 MB / 0.7612 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.4532, allocations: 0 / 0.7612 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004919/0.4582, allocations: 1.534 MB / 0.7627 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.4597, allocations: 122.8 kB / 0.7628 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04599/0.5057, allocations: 16.02 MB / 0.7784 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.5067, allocations: 1.124 MB / 0.7795 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006628/0.5073, allocations: 112.1 kB / 0.7796 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008894/0.5082, allocations: 483.2 kB / 0.7801 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of SimCode: time 1.683e-06/0.5082, allocations: 0 / 0.7801 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.466/0.9742, allocations: 35.66 MB / 0.8149 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/17, allocations: 8.703 kB / 0.8149 GB, free: 132.9 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.001995599013753] Failed to read output from testmodel.py, exit status != 0: 17.201100746984594 17.222934313 17.031385532 Calling exit ...