Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.0007414/0.0007414, 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.83/0.83, 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.0009744/0.0009744, allocations: 156.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.2642/0.2642, allocations: 80.25 MB / 392.6 MB, free: 2.445 MB / 314.7 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.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5549 GB, free: 12.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.325e-06/9.808e-06, allocations: 6.281 kB / 0.5549 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01131/0.01132, allocations: 18.49 MB / 0.573 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00624/0.01756, allocations: 4.826 MB / 0.5777 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.01862, allocations: 47.94 kB / 0.5777 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.01973, allocations: 0.8749 MB / 0.5786 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.02254, allocations: 2.352 MB / 0.5809 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.02497, allocations: 2.09 MB / 0.5829 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003284/0.02825, allocations: 5.869 MB / 0.5887 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008407/0.02909, allocations: 0.8649 MB / 0.5895 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.03127, allocations: 3.303 MB / 0.5927 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.03279, allocations: 2.262 MB / 0.5949 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003672/0.03316, allocations: 439.9 kB / 0.5954 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006122/0.03377, allocations: 0.5974 MB / 0.5959 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005626/0.03433, allocations: 1.166 MB / 0.5971 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.1768/0.2111, allocations: 1.716 MB / 0.5987 GB, free: 64.31 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003885/0.215, allocations: 6.326 MB / 0.6049 GB, free: 63.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.215, allocations: 0 / 0.6049 GB, free: 63.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.52e-07/0.215, allocations: 0 / 0.6049 GB, free: 63.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.182e-05/0.2151, allocations: 0 / 0.6049 GB, free: 63.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01471/0.2298, allocations: 9.833 MB / 0.6145 GB, free: 61.28 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2298, allocations: 9.328 kB / 0.6145 GB, free: 61.28 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004841/0.2303, allocations: 488.6 kB / 0.615 GB, free: 61.22 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01332/0.2437, allocations: 4.056 MB / 0.619 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003322/0.247, allocations: 2.561 MB / 0.6215 GB, free: 59.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000483/0.2475, allocations: 1.035 MB / 0.6225 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004658/0.2479, allocations: 357.3 kB / 0.6228 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005852/0.2538, allocations: 4.756 MB / 0.6275 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.422e-05/0.2538, allocations: 0 / 0.6275 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003024/0.2541, allocations: 141.8 kB / 0.6276 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/0.2542, allocations: 84.78 kB / 0.6277 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005386/0.2596, allocations: 4.245 MB / 0.6318 GB, free: 56.27 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 preOpt removeSimpleEquations (simulation): time 0.01594/0.2755, allocations: 13.43 MB / 0.6449 GB, free: 48.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006023/0.2815, allocations: 4.356 MB / 0.6492 GB, free: 46.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002892/0.2844, allocations: 2.499 MB / 0.6516 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.2847, allocations: 63.55 kB / 0.6517 GB, free: 45.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003373/0.2881, allocations: 3.198 MB / 0.6548 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=383): time 5.951e-06/0.2881, allocations: 3.719 kB / 0.6548 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=383): time 0.1543/0.4423, allocations: 67.82 MB / 0.7211 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.4424, allocations: 145.8 kB / 0.7212 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/0.4458, allocations: 3.245 MB / 0.7244 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003955/0.4462, allocations: 89.7 kB / 0.7245 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.4472, allocations: 1.995 MB / 0.7264 GB, free: 3.355 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.4483, allocations: 1.357 MB / 0.7277 GB, free: 2.016 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009983/0.4493, allocations: 0.6744 MB / 0.7284 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.4494, allocations: 305.1 kB / 0.7287 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00356/0.453, allocations: 2.639 MB / 0.7313 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003833/0.4568, allocations: 3.265 MB / 0.7344 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03717/0.494, allocations: 19 MB / 0.753 GB, free: 7.684 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/0.494, allocations: 4 kB / 0.753 GB, free: 7.68 MB / 0.573 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.03222/0.5262, allocations: 17.2 MB / 0.7698 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.528e-05/0.5263, allocations: 67.16 kB / 0.7699 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/0.5263, allocations: 16 kB / 0.7699 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01411/0.5404, allocations: 7.148 MB / 0.7769 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/0.5426, allocations: 0.6714 MB / 0.7775 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04986/0.5925, allocations: 32.38 MB / 0.8091 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004131/0.5966, allocations: 0.626 MB / 0.8097 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003346/0.5969, allocations: 152 kB / 0.8099 GB, free: 13.48 MB / 0.6355 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (403): * Single equations (assignments): 400 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001619/0.5986, allocations: 0.6791 MB / 0.8105 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007074/0.5993, allocations: 480.9 kB / 0.811 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03033/0.6296, allocations: 16.74 MB / 0.8274 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/0.6296, allocations: 36 kB / 0.8274 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.571e-05/0.6296, allocations: 35.38 kB / 0.8274 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.576e-05/0.6297, allocations: 18.47 kB / 0.8274 GB, free: 11.58 MB / 0.6511 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.03557/0.6653, allocations: 20.39 MB / 0.8474 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.6653, allocations: 0 / 0.8474 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.6664, allocations: 387.1 kB / 0.8477 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2021/0.8685, allocations: 7.335 MB / 0.8549 GB, free: 228.9 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009127/0.8694, allocations: 73.69 kB / 0.855 GB, free: 228.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04625/0.9157, allocations: 30.78 MB / 0.885 GB, free: 219.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.9157, allocations: 3.719 kB / 0.885 GB, free: 219.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03362/0.9493, allocations: 20.17 MB / 0.9047 GB, free: 214.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.9506, allocations: 0.5065 MB / 0.9052 GB, free: 213.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000536/0.9511, allocations: 67.81 kB / 0.9053 GB, free: 213.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002268/0.9534, allocations: 377.7 kB / 0.9056 GB, free: 213.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002179/0.9555, allocations: 0.811 MB / 0.9064 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/0.9557, allocations: 96.42 kB / 0.9065 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001735/0.9575, allocations: 2.102 MB / 0.9086 GB, free: 212.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9575, allocations: 0 / 0.9086 GB, free: 212.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003189/0.9607, allocations: 1.812 MB / 0.9103 GB, free: 212.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03147/0.9921, allocations: 20.81 MB / 0.9307 GB, free: 195.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01315/1.005, allocations: 8.824 MB / 0.9393 GB, free: 186.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.005, allocations: 384 / 0.9393 GB, free: 186.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.009367/1.015, allocations: 5.86 MB / 0.945 GB, free: 180.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/1.017, allocations: 393 kB / 0.9454 GB, free: 180.3 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07993/1.097, allocations: 58.81 MB / 1.003 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.098, allocations: 1.931 MB / 1.005 GB, free: 118.7 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008684/1.099, allocations: 379.1 kB / 1.005 GB, free: 118.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/1.1, allocations: 1.984 MB / 1.007 GB, free: 116.4 MB / 0.6667 GB Notification: Performance of SimCode: time 7.61e-07/1.1, allocations: 0 / 1.007 GB, free: 116.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2742/1.374, allocations: 137.2 MB / 1.141 GB, free: 232.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/13.23, allocations: 13.36 kB / 1.141 GB, free: 232.6 MB / 0.6667 GB " [Timeout remaining time 647] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.695984216406941] Failed to read output from testmodel.py, exit status != 0: 13.370991300791502 13.379123935 13.162459813 Calling exit ...