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.001502/0.001502, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.59/1.59, allocations: 230.6 MB / 253.5 MB, free: 14.27 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.003228/0.003228, allocations: 213.8 kB / 310 MB, free: 3.031 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.5705/0.5705, allocations: 79.73 MB / 446.2 MB, free: 40.5 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.004178/0.004178, allocations: 86.33 kB / 0.5936 GB, free: 38.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1747, allocations: 73.29 MB / 0.6652 GB, free: 348 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.00766/0.1824, allocations: 5.737 MB / 0.6708 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004937/0.1873, allocations: 1.914 MB / 0.6727 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.1884, allocations: 12 kB / 0.6727 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008389/0.1892, allocations: 241.9 kB / 0.6729 GB, free: 9.824 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.1916, allocations: 0.8493 MB / 0.6737 GB, free: 8.977 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.193, allocations: 0.6226 MB / 0.6744 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001993/0.195, allocations: 1.615 MB / 0.6759 GB, free: 6.738 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000426/0.1954, allocations: 222.9 kB / 0.6761 GB, free: 6.508 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000984/0.1964, allocations: 0.6925 MB / 0.6768 GB, free: 5.812 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.1975, allocations: 0.844 MB / 0.6776 GB, free: 4.965 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002121/0.1977, allocations: 120 kB / 0.6778 GB, free: 4.848 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006359/0.1983, allocations: 275.9 kB / 0.678 GB, free: 4.578 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003551/0.1987, allocations: 334.6 kB / 0.6783 GB, free: 4.25 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005899/0.1993, allocations: 0.5516 MB / 0.6789 GB, free: 3.695 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.2014, allocations: 1.7 MB / 0.6805 GB, free: 1.988 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2014, allocations: 0 / 0.6805 GB, free: 1.988 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2014, allocations: 0 / 0.6805 GB, free: 1.988 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.2014, allocations: 0 / 0.6805 GB, free: 1.988 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.009521/0.211, allocations: 2.82 MB / 0.6833 GB, free: 15.11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/0.211, allocations: 12.03 kB / 0.6833 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.442e-05/0.2111, allocations: 18 kB / 0.6833 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.2113, allocations: 126.6 kB / 0.6834 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005312/0.2166, allocations: 0.7913 MB / 0.6842 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.2187, allocations: 0.8346 MB / 0.685 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003963/0.2191, allocations: 341.2 kB / 0.6854 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.2193, allocations: 87.89 kB / 0.6854 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.2217, allocations: 1.108 MB / 0.6865 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.2217, allocations: 0 / 0.6865 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.2218, allocations: 39.97 kB / 0.6866 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.2219, allocations: 16 kB / 0.6866 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.2241, allocations: 1.013 MB / 0.6876 GB, free: 10.6 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.006809/0.2309, allocations: 2.936 MB / 0.6904 GB, free: 7.594 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007377/0.2383, allocations: 2.019 MB / 0.6924 GB, free: 5.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.2398, allocations: 0.6519 MB / 0.693 GB, free: 4.887 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.28e-05/0.2399, allocations: 16.94 kB / 0.6931 GB, free: 4.871 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001742/0.2416, allocations: 0.8453 MB / 0.6939 GB, free: 4.004 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 3.466e-06/0.2416, allocations: 0 / 0.6939 GB, free: 4.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.0294/0.271, allocations: 7.064 MB / 0.7008 GB, free: 12.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.2711, allocations: 123.8 kB / 0.7009 GB, free: 12.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.2731, allocations: 1.083 MB / 0.702 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.2734, allocations: 45.7 kB / 0.702 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004824/0.2738, allocations: 0.4936 MB / 0.7025 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005022/0.2743, allocations: 372.9 kB / 0.7028 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005718/0.2749, allocations: 279.5 kB / 0.7031 GB, free: 10.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.2751, allocations: 305.1 kB / 0.7034 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.2768, allocations: 0.8115 MB / 0.7042 GB, free: 9.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.2786, allocations: 0.9805 MB / 0.7051 GB, free: 8.305 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02551/0.3041, allocations: 5.774 MB / 0.7108 GB, free: 2.445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.3041, allocations: 4 kB / 0.7108 GB, free: 2.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01417/0.3183, allocations: 4.391 MB / 0.7151 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.3184, allocations: 59.41 kB / 0.7151 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.3184, allocations: 4 kB / 0.7151 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006013/0.3244, allocations: 1.592 MB / 0.7167 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.3261, allocations: 275.5 kB / 0.717 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/0.3463, allocations: 8.228 MB / 0.725 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.3485, allocations: 215.1 kB / 0.7252 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.3486, allocations: 51.98 kB / 0.7252 GB, free: 3.449 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.0007134/0.3493, allocations: 296.2 kB / 0.7255 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.3496, allocations: 127.2 kB / 0.7256 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/0.3625, allocations: 3.875 MB / 0.7294 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/0.3626, allocations: 12 kB / 0.7294 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/0.3626, allocations: 12 kB / 0.7295 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/0.3626, allocations: 7.969 kB / 0.7295 GB, free: 15.08 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.01581/0.3784, allocations: 4.986 MB / 0.7343 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.3784, allocations: 0 / 0.7343 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006873/0.3791, allocations: 99.83 kB / 0.7344 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005765/0.3849, allocations: 1.599 MB / 0.736 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.3851, allocations: 20 kB / 0.736 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02126/0.4063, allocations: 9.25 MB / 0.745 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4063, allocations: 0 / 0.745 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/0.4212, allocations: 4.766 MB / 0.7497 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005247/0.4218, allocations: 166.7 kB / 0.7499 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.422, allocations: 20 kB / 0.7499 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.4232, allocations: 115.9 kB / 0.75 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006574/0.4238, allocations: 196.6 kB / 0.7502 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.6e-05/0.4239, allocations: 28 kB / 0.7502 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001191/0.4251, allocations: 0.7315 MB / 0.7509 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4251, allocations: 4 kB / 0.7509 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001491/0.4266, allocations: 471.7 kB / 0.7514 GB, free: 8.277 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.01524/0.4418, allocations: 5.355 MB / 0.7566 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006774/0.4486, allocations: 2.46 MB / 0.759 GB, free: 348 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4486, allocations: 0 / 0.759 GB, free: 348 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004649/0.4533, allocations: 1.554 MB / 0.7605 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.4544, allocations: 110.5 kB / 0.7606 GB, free: 14.63 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04236/0.4968, allocations: 16.26 MB / 0.7765 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007715/0.4975, allocations: 0.5355 MB / 0.777 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007495/0.4983, allocations: 120.1 kB / 0.7771 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008086/0.4991, allocations: 479.3 kB / 0.7776 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/0.4991, allocations: 0 / 0.7776 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4514/0.9505, allocations: 36.83 MB / 0.8136 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.97/17.92, allocations: 5.438 kB / 0.8136 GB, free: 132.2 MB / 0.5762 GB " [Timeout remaining time 642] (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: 22.01545274700038] Failed to read output from testmodel.py, exit status != 0: 18.11401245603338 18.134158993 17.929545836 Calling exit ...