Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.00202/0.00202, allocations: 110 kB / 16.46 MB, free: 6.453 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.574/1.574, allocations: 230.6 MB / 249.8 MB, free: 9.211 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.001655/0.001655, allocations: 216.5 kB / 306 MB, free: 4.293 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.5348/0.5348, allocations: 79.71 MB / 441.8 MB, free: 156 kB / 302.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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",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.002395/0.002395, allocations: 83.86 kB / 0.5878 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1862, allocations: 73.24 MB / 0.6594 GB, free: 8.203 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008445/0.1946, allocations: 6.693 MB / 0.6659 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005147/0.1998, allocations: 2.044 MB / 0.6679 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.2009, allocations: 8 kB / 0.6679 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008699/0.2018, allocations: 241.9 kB / 0.6681 GB, free: 15.17 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.2045, allocations: 0.8907 MB / 0.669 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.2061, allocations: 0.627 MB / 0.6696 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002467/0.2085, allocations: 1.651 MB / 0.6712 GB, free: 12 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004968/0.209, allocations: 226.4 kB / 0.6714 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.2103, allocations: 0.7081 MB / 0.6721 GB, free: 11.06 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.2114, allocations: 0.8751 MB / 0.673 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.2116, allocations: 132 kB / 0.6731 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006886/0.2123, allocations: 279.9 kB / 0.6734 GB, free: 9.781 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003747/0.2127, allocations: 342.5 kB / 0.6737 GB, free: 9.445 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007236/0.2134, allocations: 0.6875 MB / 0.6744 GB, free: 8.754 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.2157, allocations: 1.739 MB / 0.6761 GB, free: 7.008 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2157, allocations: 4 kB / 0.6761 GB, free: 7.004 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2157, allocations: 0 / 0.6761 GB, free: 7.004 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.2158, allocations: 0 / 0.6761 GB, free: 7.004 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.01033/0.2261, allocations: 2.815 MB / 0.6788 GB, free: 4.121 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/0.2262, allocations: 12.03 kB / 0.6788 GB, free: 4.109 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.2264, allocations: 130.6 kB / 0.679 GB, free: 3.973 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/0.2317, allocations: 0.803 MB / 0.6797 GB, free: 3.168 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.2337, allocations: 0.9188 MB / 0.6806 GB, free: 2.195 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003727/0.2341, allocations: 264.2 kB / 0.6809 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.2343, allocations: 84 kB / 0.681 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.2367, allocations: 1.106 MB / 0.6821 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.2367, allocations: 0 / 0.6821 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.2368, allocations: 31.98 kB / 0.6821 GB, free: 0.668 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.2369, allocations: 20 kB / 0.6821 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.2391, allocations: 0.9956 MB / 0.6831 GB, free: 15.64 MB / 494.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.007665/0.2468, allocations: 3.879 MB / 0.6869 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007995/0.2548, allocations: 2.302 MB / 0.6891 GB, free: 9.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.2565, allocations: 0.6254 MB / 0.6897 GB, free: 8.559 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.2566, allocations: 16.98 kB / 0.6897 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001788/0.2584, allocations: 0.8372 MB / 0.6906 GB, free: 7.688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 3.135e-06/0.2584, allocations: 0 / 0.6906 GB, free: 7.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=97): time 0.03101/0.2894, allocations: 7.195 MB / 0.6976 GB, free: 436 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.2896, allocations: 111.8 kB / 0.6977 GB, free: 300 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3609/0.6505, allocations: 1.124 MB / 0.6988 GB, free: 35.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003971/0.6509, allocations: 45.55 kB / 0.6988 GB, free: 35.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.6513, allocations: 0.5019 MB / 0.6993 GB, free: 35.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004664/0.6518, allocations: 376.1 kB / 0.6997 GB, free: 35.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006207/0.6524, allocations: 299.6 kB / 0.7 GB, free: 35.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.6525, allocations: 303.8 kB / 0.7003 GB, free: 35.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/0.6543, allocations: 0.777 MB / 0.701 GB, free: 35.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.6565, allocations: 0.9554 MB / 0.7019 GB, free: 34.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02869/0.6851, allocations: 6.016 MB / 0.7078 GB, free: 33.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/0.6852, allocations: 1.656 kB / 0.7078 GB, free: 33.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01662/0.7018, allocations: 4.435 MB / 0.7122 GB, free: 32.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.59e-05/0.7019, allocations: 58.84 kB / 0.7122 GB, free: 32.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.7019, allocations: 4.406 kB / 0.7122 GB, free: 32.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006745/0.7086, allocations: 1.641 MB / 0.7138 GB, free: 32.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.7104, allocations: 286.6 kB / 0.7141 GB, free: 32.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/0.7314, allocations: 8.614 MB / 0.7225 GB, free: 28.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/0.7337, allocations: 212.1 kB / 0.7227 GB, free: 28.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.7339, allocations: 58.34 kB / 0.7228 GB, free: 28.23 MB / 494.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (167): * Single equations (assignments): 164 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007408/0.7346, allocations: 312.6 kB / 0.7231 GB, free: 27.97 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.7349, allocations: 134.8 kB / 0.7232 GB, free: 27.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.7478, allocations: 3.865 MB / 0.727 GB, free: 26.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.7478, allocations: 11.84 kB / 0.727 GB, free: 26.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.7478, allocations: 8.312 kB / 0.727 GB, free: 26.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.931e-05/0.7479, allocations: 11.86 kB / 0.727 GB, free: 26.31 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.01452/0.7624, allocations: 5.474 MB / 0.7323 GB, free: 23.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.7624, allocations: 11.98 kB / 0.7324 GB, free: 23.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007507/0.7632, allocations: 105.3 kB / 0.7325 GB, free: 22.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005266/0.7684, allocations: 1.593 MB / 0.734 GB, free: 22.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002386/0.7687, allocations: 24.86 kB / 0.734 GB, free: 22.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/0.7868, allocations: 9.668 MB / 0.7435 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.7868, allocations: 0 / 0.7435 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/0.8006, allocations: 4.766 MB / 0.7481 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005711/0.8012, allocations: 235.9 kB / 0.7484 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.8014, allocations: 16 kB / 0.7484 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.8026, allocations: 115.9 kB / 0.7485 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006076/0.8032, allocations: 192.7 kB / 0.7487 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.8033, allocations: 24 kB / 0.7487 GB, free: 6.836 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009774/0.8043, allocations: 0.7592 MB / 0.7494 GB, free: 6.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8043, allocations: 4 kB / 0.7494 GB, free: 6.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001563/0.8058, allocations: 487.4 kB / 0.7499 GB, free: 5.602 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01392/0.8197, allocations: 5.347 MB / 0.7551 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007521/0.8273, allocations: 2.463 MB / 0.7575 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.8273, allocations: 0.75 kB / 0.7575 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004836/0.8321, allocations: 1.523 MB / 0.759 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.8333, allocations: 121.2 kB / 0.7591 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04506/0.8784, allocations: 16.53 MB / 0.7753 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009565/0.8794, allocations: 1.124 MB / 0.7764 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007319/0.8801, allocations: 124.1 kB / 0.7765 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007578/0.8808, allocations: 479.3 kB / 0.7769 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of SimCode: time 2.204e-06/0.8808, allocations: 0 / 0.7769 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09372/0.9746, allocations: 35.65 MB / 0.8118 GB, free: 6.121 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/16.1, allocations: 11.94 kB / 0.8118 GB, free: 6.109 MB / 0.545 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.924366345992894] Failed to read output from testmodel.py, exit status != 0: 16.207935775993974 16.225478667 16.006288247 Calling exit ...