Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.001606/0.001606, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 244.8 MB, free: 14.15 MB / 206.1 MB " [Timeout remaining time 178] 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.001606/0.001606, allocations: 206.1 kB / 299.8 MB, free: 9.801 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.4993/0.4993, allocations: 79.73 MB / 434.4 MB, free: 6.223 MB / 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 87.86 kB / 0.5784 GB, free: 9.945 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1583, allocations: 72.09 MB / 0.6488 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.00811/0.1665, allocations: 6.57 MB / 0.6552 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005019/0.1715, allocations: 1.978 MB / 0.6571 GB, free: 9.168 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.1725, allocations: 12 kB / 0.6571 GB, free: 9.156 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008512/0.1733, allocations: 245.8 kB / 0.6574 GB, free: 8.914 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.1757, allocations: 0.8557 MB / 0.6582 GB, free: 8.059 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.1772, allocations: 0.6368 MB / 0.6588 GB, free: 7.426 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00215/0.1794, allocations: 1.577 MB / 0.6604 GB, free: 5.844 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004492/0.1798, allocations: 238.3 kB / 0.6606 GB, free: 5.598 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.1809, allocations: 0.6574 MB / 0.6612 GB, free: 4.938 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.1819, allocations: 0.8401 MB / 0.6621 GB, free: 4.094 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.1821, allocations: 120 kB / 0.6622 GB, free: 3.977 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005557/0.1827, allocations: 251.9 kB / 0.6624 GB, free: 3.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.183, allocations: 326.6 kB / 0.6627 GB, free: 3.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006575/0.1836, allocations: 0.6719 MB / 0.6634 GB, free: 2.734 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.1857, allocations: 1.673 MB / 0.665 GB, free: 1.055 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1857, allocations: 0 / 0.665 GB, free: 1.055 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1857, allocations: 0 / 0.665 GB, free: 1.055 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.1858, allocations: 0 / 0.665 GB, free: 1.055 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00947/0.1952, allocations: 2.734 MB / 0.6677 GB, free: 14.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1953, allocations: 8.031 kB / 0.6677 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.1955, allocations: 122.6 kB / 0.6678 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/0.2007, allocations: 0.7874 MB / 0.6686 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.2026, allocations: 0.8911 MB / 0.6695 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/0.2029, allocations: 264.2 kB / 0.6697 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.2031, allocations: 83.98 kB / 0.6698 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/0.2054, allocations: 1.09 MB / 0.6709 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.2055, allocations: 0 / 0.6709 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.354e-05/0.2056, allocations: 32 kB / 0.6709 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.2056, allocations: 20 kB / 0.6709 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.2077, allocations: 0.9799 MB / 0.6719 GB, free: 9.871 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.007812/0.2155, allocations: 3.809 MB / 0.6756 GB, free: 5.887 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007634/0.2231, allocations: 2.311 MB / 0.6778 GB, free: 3.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.2249, allocations: 0.6176 MB / 0.6784 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.225, allocations: 16.97 kB / 0.6785 GB, free: 2.844 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001713/0.2267, allocations: 0.8177 MB / 0.6793 GB, free: 2.004 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.337e-06/0.2267, allocations: 0 / 0.6793 GB, free: 2.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02905/0.2557, allocations: 7.058 MB / 0.6861 GB, free: 10.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.2558, allocations: 123.7 kB / 0.6863 GB, free: 10.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.2578, allocations: 1.079 MB / 0.6873 GB, free: 9.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002691/0.258, allocations: 53.69 kB / 0.6874 GB, free: 9.586 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004806/0.2585, allocations: 497.5 kB / 0.6878 GB, free: 9.094 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004626/0.259, allocations: 376.8 kB / 0.6882 GB, free: 8.723 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005133/0.2595, allocations: 283.5 kB / 0.6885 GB, free: 8.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2596, allocations: 305.1 kB / 0.6888 GB, free: 8.141 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.2613, allocations: 0.7652 MB / 0.6895 GB, free: 7.375 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.263, allocations: 0.9343 MB / 0.6904 GB, free: 6.398 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02428/0.2873, allocations: 5.579 MB / 0.6959 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/0.2873, allocations: 4 kB / 0.6959 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.3574/0.6447, allocations: 4.318 MB / 0.7001 GB, free: 43.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.65e-05/0.6448, allocations: 60.34 kB / 0.7002 GB, free: 43.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.6448, allocations: 2.516 kB / 0.7002 GB, free: 43.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005865/0.6507, allocations: 1.514 MB / 0.7016 GB, free: 43.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.6524, allocations: 299 kB / 0.7019 GB, free: 43.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/0.6726, allocations: 8.271 MB / 0.71 GB, free: 40.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.6746, allocations: 203.4 kB / 0.7102 GB, free: 40.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.6747, allocations: 56.55 kB / 0.7102 GB, free: 40.41 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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 (166): * Single equations (assignments): 163 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005895/0.6753, allocations: 297.8 kB / 0.7105 GB, free: 40.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.6755, allocations: 139.4 kB / 0.7107 GB, free: 40.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/0.6881, allocations: 3.845 MB / 0.7144 GB, free: 39.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.6881, allocations: 10.75 kB / 0.7144 GB, free: 39.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.6882, allocations: 10.44 kB / 0.7144 GB, free: 39.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.6882, allocations: 4.922 kB / 0.7144 GB, free: 39.18 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.01392/0.7021, allocations: 5.419 MB / 0.7197 GB, free: 37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.7021, allocations: 0 / 0.7197 GB, free: 37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006748/0.7028, allocations: 114.8 kB / 0.7198 GB, free: 36.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005332/0.7081, allocations: 1.598 MB / 0.7214 GB, free: 36.26 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/0.7083, allocations: 22 kB / 0.7214 GB, free: 36.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/0.7268, allocations: 9.618 MB / 0.7308 GB, free: 29.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.7268, allocations: 5.609 kB / 0.7308 GB, free: 29.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/0.7397, allocations: 4.723 MB / 0.7354 GB, free: 25.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/0.7402, allocations: 228.8 kB / 0.7357 GB, free: 25.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.7404, allocations: 28 kB / 0.7357 GB, free: 25.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.7416, allocations: 107.8 kB / 0.7358 GB, free: 25.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005486/0.7421, allocations: 200.7 kB / 0.736 GB, free: 24.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-05/0.7422, allocations: 28 kB / 0.736 GB, free: 24.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008812/0.7431, allocations: 0.7235 MB / 0.7367 GB, free: 24.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7431, allocations: 0 / 0.7367 GB, free: 24.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001394/0.7444, allocations: 475.9 kB / 0.7372 GB, free: 23.78 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0131/0.7575, allocations: 5.297 MB / 0.7423 GB, free: 18.44 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005887/0.7634, allocations: 2.361 MB / 0.7446 GB, free: 16.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.7634, allocations: 0 / 0.7446 GB, free: 16.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003877/0.7673, allocations: 1.547 MB / 0.7461 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.7684, allocations: 119.2 kB / 0.7463 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03474/0.8031, allocations: 16.01 MB / 0.7619 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.8041, allocations: 1.124 MB / 0.763 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007052/0.8048, allocations: 118.7 kB / 0.7631 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007188/0.8056, allocations: 475.3 kB / 0.7636 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of SimCode: time 1.814e-06/0.8056, allocations: 0 / 0.7636 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08064/0.8862, allocations: 34.55 MB / 0.7973 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/16.52, allocations: 7.938 kB / 0.7973 GB, free: 10.05 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.001354141160846] Failed to read output from testmodel.py, exit status != 0: 16.632404420990497 16.654425998 16.464422606 Calling exit ...