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.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.001526/0.001526, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.35/1.35, allocations: 222.9 MB / 242.1 MB, free: 15.4 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.001593/0.001593, allocations: 191.9 kB / 294.4 MB, free: 12.7 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.4273/0.4273, allocations: 78.53 MB / 425.1 MB, free: 11.22 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.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: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 83.86 kB / 0.5617 GB, free: 18.91 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1235, allocations: 68.19 MB / 0.6282 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007664/0.1312, allocations: 6.629 MB / 0.6347 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004514/0.1358, allocations: 2.005 MB / 0.6367 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007677/0.1366, allocations: 8 kB / 0.6367 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007114/0.1373, allocations: 241.9 kB / 0.6369 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.1396, allocations: 0.8233 MB / 0.6377 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.141, allocations: 0.6328 MB / 0.6383 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.1431, allocations: 1.643 MB / 0.6399 GB, free: 2.668 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005165/0.1436, allocations: 330.4 kB / 0.6403 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009904/0.1446, allocations: 0.673 MB / 0.6409 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.1456, allocations: 0.8635 MB / 0.6418 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.1458, allocations: 128 kB / 0.6419 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005549/0.1464, allocations: 263.9 kB / 0.6421 GB, free: 416 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.1468, allocations: 342.5 kB / 0.6425 GB, free: 72 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007024/0.1475, allocations: 0.6876 MB / 0.6431 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.1495, allocations: 1.715 MB / 0.6448 GB, free: 13.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1496, allocations: 4 kB / 0.6448 GB, free: 13.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.1496, allocations: 3.938 kB / 0.6448 GB, free: 13.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.1496, allocations: 3.938 kB / 0.6448 GB, free: 13.64 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009401/0.159, allocations: 2.796 MB / 0.6475 GB, free: 10.78 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1591, allocations: 12.02 kB / 0.6476 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.1592, allocations: 130.6 kB / 0.6477 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004991/0.1642, allocations: 0.7796 MB / 0.6484 GB, free: 9.848 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.166, allocations: 0.9111 MB / 0.6493 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003238/0.1664, allocations: 264.2 kB / 0.6496 GB, free: 8.586 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.1666, allocations: 91.89 kB / 0.6497 GB, free: 8.496 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.1688, allocations: 1.102 MB / 0.6507 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1688, allocations: 0 / 0.6507 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.312e-05/0.1689, allocations: 28 kB / 0.6508 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.169, allocations: 20 kB / 0.6508 GB, free: 7.336 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.1711, allocations: 0.9955 MB / 0.6518 GB, free: 6.34 MB / 462.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.007239/0.1784, allocations: 3.868 MB / 0.6555 GB, free: 2.293 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007788/0.1862, allocations: 2.389 MB / 0.6579 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.1879, allocations: 0.6917 MB / 0.6586 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.1881, allocations: 16.98 kB / 0.6586 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001985/0.1901, allocations: 0.8256 MB / 0.6594 GB, free: 14.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 3.075e-06/0.1901, allocations: 0 / 0.6594 GB, free: 14.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.03076/0.2209, allocations: 7.226 MB / 0.6664 GB, free: 6.965 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.221, allocations: 119.8 kB / 0.6665 GB, free: 6.824 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.2231, allocations: 1.131 MB / 0.6676 GB, free: 5.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002459/0.2234, allocations: 45.7 kB / 0.6677 GB, free: 5.629 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.2239, allocations: 0.5015 MB / 0.6682 GB, free: 5.121 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005437/0.2245, allocations: 372.8 kB / 0.6685 GB, free: 4.754 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007621/0.2252, allocations: 295.5 kB / 0.6688 GB, free: 4.461 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2254, allocations: 309.1 kB / 0.6691 GB, free: 4.156 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/0.2273, allocations: 0.7769 MB / 0.6699 GB, free: 3.379 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.2292, allocations: 0.9537 MB / 0.6708 GB, free: 2.383 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02606/0.2553, allocations: 5.798 MB / 0.6765 GB, free: 12.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.2554, allocations: 0 / 0.6765 GB, free: 12.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01521/0.2706, allocations: 4.462 MB / 0.6808 GB, free: 8.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.94e-05/0.2707, allocations: 63.41 kB / 0.6809 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.2707, allocations: 4 kB / 0.6809 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006442/0.2772, allocations: 1.639 MB / 0.6825 GB, free: 6.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.2787, allocations: 287.6 kB / 0.6828 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.29/0.5687, allocations: 8.597 MB / 0.6912 GB, free: 51.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.5708, allocations: 212.4 kB / 0.6914 GB, free: 51.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.5709, allocations: 57.75 kB / 0.6914 GB, free: 51.82 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.0006083/0.5716, allocations: 309.3 kB / 0.6917 GB, free: 51.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.5718, allocations: 135 kB / 0.6918 GB, free: 51.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/0.5855, allocations: 3.9 MB / 0.6956 GB, free: 51.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.5855, allocations: 10.59 kB / 0.6957 GB, free: 51.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/0.5855, allocations: 7.156 kB / 0.6957 GB, free: 51.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.824e-05/0.5856, allocations: 5.672 kB / 0.6957 GB, free: 51.53 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.01595/0.6015, allocations: 5.52 MB / 0.7011 GB, free: 49.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.6016, allocations: 1.156 kB / 0.7011 GB, free: 49.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007402/0.6023, allocations: 99.98 kB / 0.7012 GB, free: 49.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005506/0.6079, allocations: 1.594 MB / 0.7027 GB, free: 49.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002118/0.6081, allocations: 24 kB / 0.7027 GB, free: 49.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0193/0.6274, allocations: 9.663 MB / 0.7122 GB, free: 44.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6275, allocations: 0 / 0.7122 GB, free: 44.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/0.6417, allocations: 4.78 MB / 0.7168 GB, free: 42.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/0.6423, allocations: 237 kB / 0.7171 GB, free: 42.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003839/0.6427, allocations: 19.94 kB / 0.7171 GB, free: 42.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.6441, allocations: 111.8 kB / 0.7172 GB, free: 42.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000643/0.6447, allocations: 199.3 kB / 0.7174 GB, free: 42.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.6449, allocations: 27.61 kB / 0.7174 GB, free: 42.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00116/0.6461, allocations: 0.7548 MB / 0.7181 GB, free: 41.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6461, allocations: 6.656 kB / 0.7182 GB, free: 41.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001667/0.6477, allocations: 486.9 kB / 0.7186 GB, free: 41.82 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.01395/0.6617, allocations: 5.371 MB / 0.7239 GB, free: 38.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0067/0.6684, allocations: 2.598 MB / 0.7264 GB, free: 37.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.6685, allocations: 0 / 0.7264 GB, free: 37.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004096/0.6726, allocations: 1.603 MB / 0.728 GB, free: 35.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.674, allocations: 118.9 kB / 0.7281 GB, free: 35.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03714/0.7112, allocations: 16.56 MB / 0.7443 GB, free: 18.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.7118, allocations: 1.128 MB / 0.7454 GB, free: 17.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005502/0.7124, allocations: 120.1 kB / 0.7455 GB, free: 17.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006609/0.713, allocations: 479.3 kB / 0.7459 GB, free: 16.89 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.7131, allocations: 0 / 0.7459 GB, free: 16.89 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07913/0.7922, allocations: 35.14 MB / 0.7802 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/15, allocations: 8.641 kB / 0.7803 GB, free: 13.93 MB / 0.5137 GB " [Timeout remaining time 645] (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: 18.120194494957104] Failed to read output from testmodel.py, exit status != 0: 15.116447526961565 15.13113985 14.978975937 Calling exit ...