Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0009743/0.0009743, 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.853/0.853, allocations: 177.1 MB / 199.4 MB, free: 5.957 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.001442/0.001442, allocations: 160.6 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2559/0.2559, allocations: 80.36 MB / 392.7 MB, free: 2.379 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.555 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.541e-05, allocations: 2.281 kB / 0.555 GB, free: 12.23 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.004448/0.004463, allocations: 5.811 MB / 0.5606 GB, free: 6.391 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.007337, allocations: 1.931 MB / 0.5625 GB, free: 4.453 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004909/0.007828, allocations: 11.94 kB / 0.5625 GB, free: 4.441 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005481/0.008376, allocations: 237.8 kB / 0.5628 GB, free: 4.207 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.009824, allocations: 0.8687 MB / 0.5636 GB, free: 3.344 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008889/0.01071, allocations: 0.6402 MB / 0.5642 GB, free: 2.707 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.0119, allocations: 1.588 MB / 0.5658 GB, free: 1.113 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.0122, allocations: 218.8 kB / 0.566 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1787/0.1909, allocations: 0.8965 MB / 0.5669 GB, free: 15.64 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009484/0.1919, allocations: 0.6683 MB / 0.5675 GB, free: 15.64 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002715/0.1921, allocations: 121.9 kB / 0.5676 GB, free: 15.64 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004764/0.1926, allocations: 271.3 kB / 0.5679 GB, free: 15.64 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.1929, allocations: 331.8 kB / 0.5682 GB, free: 15.64 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.1932, allocations: 458.2 kB / 0.5687 GB, free: 15.64 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.1948, allocations: 1.735 MB / 0.5703 GB, free: 15.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1948, allocations: 1.781 kB / 0.5703 GB, free: 15.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1948, allocations: 1.125 kB / 0.5703 GB, free: 15.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.1948, allocations: 0 / 0.5703 GB, free: 15.54 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.00499/0.1998, allocations: 2.795 MB / 0.5731 GB, free: 14.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1998, allocations: 8.781 kB / 0.5731 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.1999, allocations: 130.6 kB / 0.5732 GB, free: 14.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/0.2025, allocations: 0.7928 MB / 0.574 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.2035, allocations: 0.8275 MB / 0.5748 GB, free: 14.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.2037, allocations: 343.6 kB / 0.5751 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.2038, allocations: 82.7 kB / 0.5752 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.2053, allocations: 1.111 MB / 0.5763 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.2053, allocations: 0 / 0.5763 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.2054, allocations: 31.66 kB / 0.5763 GB, free: 13.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.2054, allocations: 17.75 kB / 0.5763 GB, free: 13.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.2068, allocations: 1.008 MB / 0.5773 GB, free: 13.36 MB / 442.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.005152/0.2119, allocations: 2.978 MB / 0.5802 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004752/0.2167, allocations: 2.027 MB / 0.5822 GB, free: 11.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009414/0.2176, allocations: 0.6387 MB / 0.5828 GB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.162e-05/0.2177, allocations: 13.16 kB / 0.5828 GB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.2188, allocations: 0.8487 MB / 0.5837 GB, free: 10.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 3.556e-06/0.2188, allocations: 0 / 0.5837 GB, free: 10.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.01475/0.2335, allocations: 6.958 MB / 0.5905 GB, free: 8.551 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.2336, allocations: 118.8 kB / 0.5906 GB, free: 8.422 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.2349, allocations: 1.088 MB / 0.5916 GB, free: 7.809 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002407/0.2351, allocations: 46.3 kB / 0.5917 GB, free: 7.762 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.2353, allocations: 0.4905 MB / 0.5922 GB, free: 7.328 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000292/0.2356, allocations: 369.9 kB / 0.5925 GB, free: 7.016 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/0.2359, allocations: 290.9 kB / 0.5928 GB, free: 6.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.41e-05/0.236, allocations: 302.5 kB / 0.5931 GB, free: 6.543 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.237, allocations: 0.8179 MB / 0.5939 GB, free: 6.094 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.238, allocations: 0.9895 MB / 0.5948 GB, free: 5.477 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/0.2501, allocations: 5.787 MB / 0.6005 GB, free: 2.562 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/0.2501, allocations: 2.25 kB / 0.6005 GB, free: 2.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.007047/0.2572, allocations: 4.37 MB / 0.6048 GB, free: 15.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.2572, allocations: 63.39 kB / 0.6048 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.2572, allocations: 3.938 kB / 0.6048 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002916/0.2602, allocations: 1.512 MB / 0.6063 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009651/0.2611, allocations: 296.3 kB / 0.6066 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.2726, allocations: 7.998 MB / 0.6144 GB, free: 5.238 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.2741, allocations: 203 kB / 0.6146 GB, free: 5.039 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.2742, allocations: 59.97 kB / 0.6147 GB, free: 4.98 MB / 458.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.0005966/0.2748, allocations: 308.5 kB / 0.6149 GB, free: 4.688 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.275, allocations: 131.2 kB / 0.6151 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00669/0.2817, allocations: 3.87 MB / 0.6189 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.2817, allocations: 8 kB / 0.6189 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.2818, allocations: 8 kB / 0.6189 GB, free: 0.668 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/0.2818, allocations: 3.984 kB / 0.6189 GB, free: 0.6641 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 postOpt removeSimpleEquations (simulation): time 0.008563/0.2903, allocations: 4.997 MB / 0.6238 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.2903, allocations: 1.688 kB / 0.6238 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.2908, allocations: 99.52 kB / 0.6238 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002959/0.2937, allocations: 1.587 MB / 0.6254 GB, free: 9.969 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/0.2939, allocations: 27.09 kB / 0.6254 GB, free: 9.945 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/0.3066, allocations: 9.248 MB / 0.6345 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3066, allocations: 0 / 0.6345 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008426/0.315, allocations: 4.766 MB / 0.6391 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/0.3155, allocations: 150.9 kB / 0.6393 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.3157, allocations: 16 kB / 0.6393 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/0.3163, allocations: 111.8 kB / 0.6394 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004626/0.3168, allocations: 208 kB / 0.6396 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.3169, allocations: 27.98 kB / 0.6396 GB, free: 11.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007656/0.3176, allocations: 0.7274 MB / 0.6403 GB, free: 10.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3176, allocations: 4 kB / 0.6403 GB, free: 10.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001214/0.3188, allocations: 483.6 kB / 0.6408 GB, free: 10 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.008377/0.3272, allocations: 5.35 MB / 0.646 GB, free: 4.629 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004023/0.3312, allocations: 2.434 MB / 0.6484 GB, free: 2.156 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3312, allocations: 4.25 kB / 0.6484 GB, free: 2.152 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002507/0.3337, allocations: 1.557 MB / 0.6499 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.3348, allocations: 110 kB / 0.65 GB, free: 480 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02451/0.3593, allocations: 16.1 MB / 0.6657 GB, free: 192 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.3597, allocations: 0.5316 MB / 0.6662 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004723/0.3602, allocations: 124.1 kB / 0.6664 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/0.3606, allocations: 468.3 kB / 0.6668 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/0.3606, allocations: 3.938 kB / 0.6668 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05893/0.4196, allocations: 37.69 MB / 0.7036 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.586/9.006, allocations: 11.44 kB / 0.7036 GB, free: 9.609 MB / 0.5417 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.207230306230485] Failed to read output from testmodel.py, exit status != 0: 9.109358380548656 9.118765191 8.9222033 Calling exit ...