Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.0007137/0.0007137, 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.8287/0.8287, allocations: 177.1 MB / 199.4 MB, free: 5.926 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.001101/0.001101, allocations: 159.9 kB / 256 MB, free: 13.32 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.2539/0.2539, allocations: 80.35 MB / 392.7 MB, free: 2.379 MB / 314.7 MB " [Timeout remaining time 179] 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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.555 GB, free: 12.45 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.201e-05, allocations: 2.281 kB / 0.555 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.004691/0.004713, allocations: 5.93 MB / 0.5608 GB, free: 6.488 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.008027, allocations: 1.982 MB / 0.5627 GB, free: 4.504 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006848/0.008712, allocations: 11.94 kB / 0.5627 GB, free: 4.492 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007112/0.009423, allocations: 237.9 kB / 0.5629 GB, free: 4.258 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.01131, allocations: 0.8824 MB / 0.5638 GB, free: 3.375 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.01232, allocations: 0.661 MB / 0.5644 GB, free: 2.719 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.01394, allocations: 1.674 MB / 0.5661 GB, free: 1.039 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003452/0.01428, allocations: 215 kB / 0.5663 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.01536, allocations: 0.9506 MB / 0.5672 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006905/0.01605, allocations: 0.7165 MB / 0.5679 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.01622, allocations: 132 kB / 0.568 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.01669, allocations: 283.7 kB / 0.5683 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.01692, allocations: 358.5 kB / 0.5686 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005213/0.01744, allocations: 482.4 kB / 0.5691 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.01898, allocations: 1.814 MB / 0.5709 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01899, allocations: 4 kB / 0.5709 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.01899, allocations: 0 / 0.5709 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.668e-05/0.01901, allocations: 0 / 0.5709 GB, free: 12.09 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00536/0.02437, allocations: 2.886 MB / 0.5737 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.02442, allocations: 12.03 kB / 0.5737 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.02455, allocations: 126.7 kB / 0.5738 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/0.02709, allocations: 0.7991 MB / 0.5746 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.02841, allocations: 0.8701 MB / 0.5755 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003928/0.0288, allocations: 345.2 kB / 0.5758 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.02897, allocations: 84 kB / 0.5759 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.03053, allocations: 1.135 MB / 0.577 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.03054, allocations: 0 / 0.577 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.705e-05/0.03061, allocations: 35.94 kB / 0.577 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.03062, allocations: 20 kB / 0.577 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.032, allocations: 1.021 MB / 0.578 GB, free: 4.566 MB / 0.4948 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 preOpt removeSimpleEquations (simulation): time 0.004577/0.03658, allocations: 3.016 MB / 0.581 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/0.04057, allocations: 2.057 MB / 0.583 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009467/0.04152, allocations: 0.6645 MB / 0.5836 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.217e-05/0.0416, allocations: 13 kB / 0.5836 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.04267, allocations: 0.8663 MB / 0.5845 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=98): time 3.747e-06/0.04267, allocations: 3.938 kB / 0.5845 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98): time 0.01475/0.05742, allocations: 6.959 MB / 0.5913 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.05748, allocations: 115.8 kB / 0.5914 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.05877, allocations: 1.139 MB / 0.5925 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.05897, allocations: 49.69 kB / 0.5926 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.05925, allocations: 0.5015 MB / 0.5931 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/0.05961, allocations: 380.8 kB / 0.5934 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/0.05995, allocations: 295.5 kB / 0.5937 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.729e-05/0.06002, allocations: 305.1 kB / 0.594 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.0611, allocations: 0.8544 MB / 0.5948 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.06224, allocations: 1.027 MB / 0.5958 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2069/0.2692, allocations: 6.142 MB / 0.6018 GB, free: 91.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.2692, allocations: 0 / 0.6018 GB, free: 91.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007466/0.2766, allocations: 4.537 MB / 0.6063 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/0.2767, allocations: 59.97 kB / 0.6063 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.2767, allocations: 4.203 kB / 0.6063 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003717/0.2804, allocations: 1.671 MB / 0.6079 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.2815, allocations: 293.1 kB / 0.6082 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/0.2942, allocations: 8.341 MB / 0.6164 GB, free: 86.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.2956, allocations: 209.5 kB / 0.6166 GB, free: 86.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.2957, allocations: 57.75 kB / 0.6166 GB, free: 86.75 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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 (171): * Single equations (assignments): 168 * 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.0005791/0.2963, allocations: 319.2 kB / 0.6169 GB, free: 86.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.2965, allocations: 133.2 kB / 0.6171 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007413/0.3039, allocations: 3.918 MB / 0.6209 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.3039, allocations: 10.97 kB / 0.6209 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.304, allocations: 7.938 kB / 0.6209 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.108e-05/0.304, allocations: 4.828 kB / 0.6209 GB, free: 85.46 MB / 0.5105 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.008656/0.3126, allocations: 5.062 MB / 0.6259 GB, free: 83.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.3127, allocations: 1.062 kB / 0.6259 GB, free: 83.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004508/0.3131, allocations: 103.4 kB / 0.626 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002962/0.3161, allocations: 1.599 MB / 0.6275 GB, free: 83.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/0.3162, allocations: 22.5 kB / 0.6275 GB, free: 83.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/0.3278, allocations: 9.234 MB / 0.6366 GB, free: 77.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3278, allocations: 4.844 kB / 0.6366 GB, free: 77.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007636/0.3355, allocations: 4.837 MB / 0.6413 GB, free: 75.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/0.3358, allocations: 158.6 kB / 0.6414 GB, free: 75.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.336, allocations: 26.16 kB / 0.6415 GB, free: 75.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/0.3366, allocations: 110.5 kB / 0.6416 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004308/0.337, allocations: 207.3 kB / 0.6418 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/0.3371, allocations: 27.67 kB / 0.6418 GB, free: 75.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006897/0.3378, allocations: 0.7746 MB / 0.6425 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3378, allocations: 0 / 0.6425 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001197/0.339, allocations: 497 kB / 0.643 GB, free: 73.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (66): * Single equations (assignments): 63 * 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.007424/0.3464, allocations: 5.428 MB / 0.6483 GB, free: 68.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004145/0.3505, allocations: 2.551 MB / 0.6508 GB, free: 65.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.3506, allocations: 4.25 kB / 0.6508 GB, free: 65.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002535/0.3531, allocations: 1.584 MB / 0.6524 GB, free: 64.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009852/0.3541, allocations: 122.9 kB / 0.6525 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/0.3759, allocations: 16.79 MB / 0.6689 GB, free: 47.13 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.3762, allocations: 0.5441 MB / 0.6694 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004312/0.3766, allocations: 115.9 kB / 0.6695 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.377, allocations: 496.3 kB / 0.67 GB, free: 45.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.323e-06/0.377, allocations: 0 / 0.67 GB, free: 45.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04413/0.4212, allocations: 39.21 MB / 0.7083 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.591/9.012, allocations: 7.062 kB / 0.7083 GB, free: 7.027 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.29320247657597] Failed to read output from testmodel.py, exit status != 0: 9.115511793643236 9.123649113 9.102903081 Calling exit ...