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.002142/0.002142, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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 1.583/1.583, allocations: 230.6 MB / 252.7 MB, free: 14.28 MB / 206.1 MB " [Timeout remaining time 178] 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.002804/0.002804, allocations: 210.9 kB / 309.2 MB, free: 3.109 MB / 238.1 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.6514/0.6514, allocations: 107.2 MB / 472.8 MB, free: 30.5 MB / 350.1 MB " [Timeout remaining time 179] 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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004334/0.004334, allocations: 84.84 kB / 0.6331 GB, free: 29.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1828, allocations: 80.15 MB / 0.7113 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.008582/0.1914, allocations: 5.824 MB / 0.717 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005118/0.1965, allocations: 1.92 MB / 0.7189 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.1979, allocations: 12 kB / 0.7189 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.1991, allocations: 233.9 kB / 0.7191 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.2024, allocations: 0.8592 MB / 0.72 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.2042, allocations: 0.6293 MB / 0.7206 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002969/0.2072, allocations: 1.608 MB / 0.7221 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006729/0.2079, allocations: 218.8 kB / 0.7223 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.2094, allocations: 0.6769 MB / 0.723 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.2109, allocations: 0.762 MB / 0.7238 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000515/0.2115, allocations: 127.9 kB / 0.7239 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009809/0.2124, allocations: 271.9 kB / 0.7241 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005905/0.213, allocations: 330.6 kB / 0.7245 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.2141, allocations: 0.5477 MB / 0.725 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002871/0.217, allocations: 1.7 MB / 0.7266 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.217, allocations: 0 / 0.7266 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.625e-06/0.217, allocations: 0 / 0.7266 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.91e-05/0.2171, allocations: 4 kB / 0.7266 GB, free: 7.992 MB / 0.4981 GB 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.01059/0.2277, allocations: 2.816 MB / 0.7294 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.2277, allocations: 8.031 kB / 0.7294 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003028/0.228, allocations: 126.6 kB / 0.7295 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/0.2333, allocations: 0.7991 MB / 0.7303 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.2356, allocations: 0.8268 MB / 0.7311 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004413/0.2361, allocations: 333.3 kB / 0.7314 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003386/0.2364, allocations: 95.94 kB / 0.7315 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/0.2391, allocations: 1.112 MB / 0.7326 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.2391, allocations: 0 / 0.7326 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.2392, allocations: 32 kB / 0.7326 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.2392, allocations: 16 kB / 0.7327 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.2416, allocations: 1.013 MB / 0.7336 GB, free: 0.6367 MB / 0.4981 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.008166/0.2497, allocations: 2.987 MB / 0.7366 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007372/0.2571, allocations: 2.025 MB / 0.7385 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.2587, allocations: 0.6427 MB / 0.7392 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.2589, allocations: 9 kB / 0.7392 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001953/0.2608, allocations: 0.8467 MB / 0.74 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 5.48e-06/0.2608, allocations: 4 kB / 0.74 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.02933/0.2902, allocations: 6.947 MB / 0.7468 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.2903, allocations: 115.8 kB / 0.7469 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.2924, allocations: 1.091 MB / 0.748 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002664/0.2927, allocations: 45.7 kB / 0.748 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/0.2932, allocations: 0.5014 MB / 0.7485 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000606/0.2938, allocations: 372.9 kB / 0.7489 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007811/0.2946, allocations: 283.5 kB / 0.7491 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2947, allocations: 301.1 kB / 0.7494 GB, free: 260 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.2966, allocations: 0.8155 MB / 0.7502 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.2986, allocations: 0.9884 MB / 0.7512 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02491/0.3235, allocations: 5.79 MB / 0.7568 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.3235, allocations: 0 / 0.7568 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01383/0.3373, allocations: 4.375 MB / 0.7611 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.924e-05/0.3374, allocations: 59.41 kB / 0.7612 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.3375, allocations: 4 kB / 0.7612 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00566/0.3431, allocations: 1.503 MB / 0.7626 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.3448, allocations: 307.5 kB / 0.7629 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/0.3655, allocations: 7.995 MB / 0.7707 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.3675, allocations: 199 kB / 0.7709 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003267/0.3679, allocations: 59.97 kB / 0.771 GB, free: 9.836 MB / 0.545 GB 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.0009834/0.3689, allocations: 299.3 kB / 0.7713 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004529/0.3693, allocations: 135.1 kB / 0.7714 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/0.3828, allocations: 3.878 MB / 0.7752 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.3828, allocations: 8 kB / 0.7752 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.533e-05/0.3828, allocations: 8 kB / 0.7752 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.02e-05/0.3829, allocations: 7.969 kB / 0.7752 GB, free: 5.457 MB / 0.545 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.01696/0.3998, allocations: 4.986 MB / 0.7801 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/0.3998, allocations: 0 / 0.7801 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007343/0.4006, allocations: 107.8 kB / 0.7802 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006072/0.4066, allocations: 1.59 MB / 0.7817 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000277/0.4069, allocations: 24 kB / 0.7817 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02243/0.4293, allocations: 9.235 MB / 0.7908 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4294, allocations: 3.938 kB / 0.7908 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/0.4451, allocations: 4.774 MB / 0.7954 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006967/0.4458, allocations: 154.9 kB / 0.7956 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005451/0.4464, allocations: 16 kB / 0.7956 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/0.4479, allocations: 111.9 kB / 0.7957 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008129/0.4487, allocations: 200.7 kB / 0.7959 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/0.4489, allocations: 31.98 kB / 0.7959 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001556/0.4505, allocations: 0.7273 MB / 0.7966 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4505, allocations: 4 kB / 0.7966 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002006/0.4525, allocations: 471.7 kB / 0.7971 GB, free: 14.67 MB / 0.5762 GB 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.01605/0.4685, allocations: 5.356 MB / 0.8023 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007274/0.4758, allocations: 2.451 MB / 0.8047 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4758, allocations: 0 / 0.8047 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004884/0.4807, allocations: 1.556 MB / 0.8062 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.4824, allocations: 119.3 kB / 0.8063 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4064/0.8888, allocations: 16.25 MB / 0.8222 GB, free: 92.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008279/0.8896, allocations: 0.5266 MB / 0.8227 GB, free: 92.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007245/0.8904, allocations: 120 kB / 0.8228 GB, free: 92.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005874/0.891, allocations: 472.2 kB / 0.8233 GB, free: 91.74 MB / 0.5762 GB Notification: Performance of SimCode: time 1.283e-06/0.891, allocations: 0 / 0.8233 GB, free: 91.74 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0807/0.9717, allocations: 37.5 MB / 0.8599 GB, free: 64.51 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/16.92, allocations: 5.969 kB / 0.8599 GB, free: 64.51 MB / 0.5762 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 & python3 -m fmpy simulate --output-file OpenIPSL_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_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.975623295176774] Failed to read output from testmodel.py, exit status != 0: 17.06423278991133 17.084729062 16.863523058 Calling exit ...