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.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.0007588/0.0007588, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8511/0.8511, allocations: 177.1 MB / 199.4 MB, free: 5.918 MB / 186.7 MB " [Timeout remaining time 179] 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.001505/0.001505, allocations: 164.6 kB / 256 MB, free: 13.32 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.271/0.271, allocations: 80.24 MB / 392.6 MB, free: 3.598 MB / 362.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.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 1.783e-06/1.783e-06, allocations: 3.938 kB / 0.5548 GB, free: 372 kB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.67e-05, allocations: 2.281 kB / 0.5548 GB, free: 368 kB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.004746/0.004763, allocations: 5.799 MB / 0.5605 GB, free: 10.55 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.007425, allocations: 1.939 MB / 0.5624 GB, free: 8.613 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.007709, allocations: 15.94 kB / 0.5624 GB, free: 8.598 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004988/0.008208, allocations: 230.6 kB / 0.5626 GB, free: 8.371 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.009338, allocations: 0.864 MB / 0.5634 GB, free: 7.508 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.01006, allocations: 0.644 MB / 0.5641 GB, free: 6.871 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009364/0.011, allocations: 1.592 MB / 0.5656 GB, free: 5.273 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.01127, allocations: 214.8 kB / 0.5658 GB, free: 5.055 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006637/0.01193, allocations: 0.9038 MB / 0.5667 GB, free: 4.148 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005145/0.01244, allocations: 0.6698 MB / 0.5674 GB, free: 3.477 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.01256, allocations: 120 kB / 0.5675 GB, free: 3.359 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.01285, allocations: 271.8 kB / 0.5677 GB, free: 3.094 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.01305, allocations: 338.5 kB / 0.5681 GB, free: 2.762 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.01332, allocations: 462.5 kB / 0.5685 GB, free: 2.309 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.0147, allocations: 1.725 MB / 0.5702 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.0147, allocations: 3.984 kB / 0.5702 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.0147, allocations: 0 / 0.5702 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.01471, allocations: 4 kB / 0.5702 GB, free: 0.5703 MB / 442.7 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.004713/0.01943, allocations: 2.793 MB / 0.5729 GB, free: 13.71 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.01947, allocations: 12.03 kB / 0.5729 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.01958, allocations: 130.6 kB / 0.5731 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/0.02205, allocations: 0.7913 MB / 0.5738 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009608/0.02301, allocations: 0.8307 MB / 0.5746 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.02322, allocations: 341.3 kB / 0.575 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.02334, allocations: 80 kB / 0.575 GB, free: 11.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.02471, allocations: 1.112 MB / 0.5761 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.02472, allocations: 3.984 kB / 0.5761 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/0.02479, allocations: 31.94 kB / 0.5762 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.0248, allocations: 20 kB / 0.5762 GB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.02639, allocations: 1.009 MB / 0.5772 GB, free: 9.238 MB / 458.7 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.004108/0.0305, allocations: 2.98 MB / 0.5801 GB, free: 6.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.0344, allocations: 2.025 MB / 0.582 GB, free: 4.133 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008748/0.03527, allocations: 0.6458 MB / 0.5827 GB, free: 3.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.603e-05/0.03536, allocations: 17 kB / 0.5827 GB, free: 3.461 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001361/0.03672, allocations: 0.8351 MB / 0.5835 GB, free: 2.602 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 2.284e-06/0.03672, allocations: 0 / 0.5835 GB, free: 2.602 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.01456/0.05128, allocations: 6.966 MB / 0.5903 GB, free: 11.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003031/0.05158, allocations: 115.8 kB / 0.5904 GB, free: 11.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.05264, allocations: 1.087 MB / 0.5915 GB, free: 10.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.784e-05/0.05273, allocations: 45.7 kB / 0.5915 GB, free: 10.31 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.05299, allocations: 0.4898 MB / 0.592 GB, free: 9.812 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.05324, allocations: 368.8 kB / 0.5924 GB, free: 9.449 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/0.05356, allocations: 291.4 kB / 0.5926 GB, free: 9.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.05362, allocations: 305.1 kB / 0.5929 GB, free: 8.859 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.05463, allocations: 0.8232 MB / 0.5937 GB, free: 8.023 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.05573, allocations: 0.9884 MB / 0.5947 GB, free: 6.984 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/0.06794, allocations: 5.802 MB / 0.6004 GB, free: 1.098 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.06795, allocations: 0 / 0.6004 GB, free: 1.098 MB / 474.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.007469/0.07542, allocations: 4.363 MB / 0.6046 GB, free: 12.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/0.07547, allocations: 63.41 kB / 0.6047 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.07549, allocations: 0 / 0.6047 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.07829, allocations: 1.508 MB / 0.6062 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/0.07901, allocations: 303.5 kB / 0.6064 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.09029, allocations: 7.984 MB / 0.6142 GB, free: 2.707 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009501/0.09124, allocations: 207 kB / 0.6144 GB, free: 2.504 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-05/0.09132, allocations: 59.97 kB / 0.6145 GB, free: 2.445 MB / 490.7 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.0004529/0.09178, allocations: 300.6 kB / 0.6148 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.09191, allocations: 135.2 kB / 0.6149 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2003/0.2922, allocations: 3.873 MB / 0.6187 GB, free: 69.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.2922, allocations: 9.625 kB / 0.6187 GB, free: 69.65 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.2922, allocations: 6.875 kB / 0.6187 GB, free: 69.65 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.2922, allocations: 4.969 kB / 0.6187 GB, free: 69.65 MB / 490.7 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.008758/0.301, allocations: 4.995 MB / 0.6236 GB, free: 68.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.301, allocations: 2.344 kB / 0.6236 GB, free: 68.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.3013, allocations: 97.66 kB / 0.6237 GB, free: 68.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/0.3044, allocations: 1.584 MB / 0.6252 GB, free: 68.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.684e-05/0.3045, allocations: 24.42 kB / 0.6253 GB, free: 68.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/0.3154, allocations: 9.232 MB / 0.6343 GB, free: 63.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3154, allocations: 0.5469 kB / 0.6343 GB, free: 63.63 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007949/0.3233, allocations: 4.764 MB / 0.6389 GB, free: 62.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.3235, allocations: 159.8 kB / 0.6391 GB, free: 62.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.3236, allocations: 19.5 kB / 0.6391 GB, free: 62.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.3242, allocations: 108.2 kB / 0.6392 GB, free: 62.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003266/0.3245, allocations: 207.2 kB / 0.6394 GB, free: 61.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.3245, allocations: 31.45 kB / 0.6394 GB, free: 61.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006002/0.3251, allocations: 0.7334 MB / 0.6401 GB, free: 61.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3251, allocations: 0 / 0.6401 GB, free: 61.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008563/0.326, allocations: 472.9 kB / 0.6406 GB, free: 61.49 MB / 490.7 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007296/0.3333, allocations: 5.356 MB / 0.6458 GB, free: 58.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003024/0.3363, allocations: 2.433 MB / 0.6482 GB, free: 55.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3363, allocations: 0 / 0.6482 GB, free: 55.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001974/0.3383, allocations: 1.559 MB / 0.6497 GB, free: 54.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.3389, allocations: 116.5 kB / 0.6498 GB, free: 53.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/0.3587, allocations: 16.09 MB / 0.6655 GB, free: 37.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.359, allocations: 0.5289 MB / 0.6661 GB, free: 37.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002484/0.3593, allocations: 120.1 kB / 0.6662 GB, free: 36.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.3596, allocations: 472.3 kB / 0.6666 GB, free: 36.44 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3596, allocations: 0 / 0.6666 GB, free: 36.44 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04228/0.4019, allocations: 37.7 MB / 0.7034 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.146/9.548, allocations: 4.625 kB / 0.7034 GB, free: 15.03 MB / 0.4948 GB " [Timeout remaining time 650] (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: 11.769280780106783] Failed to read output from testmodel.py, exit status != 0: 9.656823041848838 9.671740279 9.654415559 Calling exit ...