Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.0008634/0.0008634, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.831/0.831, allocations: 177.2 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.0009901/0.0009901, allocations: 160.2 kB / 256 MB, free: 13.34 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.2609/0.2609, allocations: 80.24 MB / 392.6 MB, free: 2.453 MB / 314.7 MB " [Timeout remaining time 180] 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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.5549 GB, free: 12.45 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.989e-06/1.121e-05, allocations: 2.281 kB / 0.5549 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01101/0.01102, allocations: 18.39 MB / 0.5729 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006522/0.01754, allocations: 4.834 MB / 0.5776 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.01872, allocations: 44 kB / 0.5776 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.0199, allocations: 0.8788 MB / 0.5785 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.02282, allocations: 2.338 MB / 0.5808 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.02531, allocations: 2.09 MB / 0.5828 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003489/0.0288, allocations: 5.85 MB / 0.5885 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008604/0.02966, allocations: 0.8688 MB / 0.5894 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.03211, allocations: 3.303 MB / 0.5926 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.03365, allocations: 2.262 MB / 0.5948 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003806/0.03403, allocations: 436 kB / 0.5952 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009343/0.03497, allocations: 0.6013 MB / 0.5958 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005578/0.03553, allocations: 1.178 MB / 0.597 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.1811/0.2166, allocations: 1.716 MB / 0.5986 GB, free: 64.32 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004717/0.2213, allocations: 6.317 MB / 0.6048 GB, free: 63.92 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2213, allocations: 0 / 0.6048 GB, free: 63.92 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2213, allocations: 0 / 0.6048 GB, free: 63.92 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000184/0.2215, allocations: 0 / 0.6048 GB, free: 63.92 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01626/0.2378, allocations: 9.832 MB / 0.6144 GB, free: 61.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2378, allocations: 10.59 kB / 0.6144 GB, free: 61.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005155/0.2383, allocations: 489.5 kB / 0.6149 GB, free: 61.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.2519, allocations: 4.058 MB / 0.6189 GB, free: 60.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.2556, allocations: 2.571 MB / 0.6214 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004954/0.2561, allocations: 1.037 MB / 0.6224 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004859/0.2566, allocations: 349.6 kB / 0.6227 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006083/0.2627, allocations: 4.75 MB / 0.6273 GB, free: 57.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/0.2627, allocations: 0 / 0.6273 GB, free: 57.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002985/0.263, allocations: 143 kB / 0.6275 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/0.263, allocations: 83.47 kB / 0.6276 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005498/0.2685, allocations: 4.245 MB / 0.6317 GB, free: 56.3 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.01664/0.2852, allocations: 13.41 MB / 0.6448 GB, free: 48.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006191/0.2914, allocations: 4.341 MB / 0.649 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003013/0.2944, allocations: 2.506 MB / 0.6515 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.2947, allocations: 65.52 kB / 0.6516 GB, free: 45.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003347/0.298, allocations: 3.2 MB / 0.6547 GB, free: 43.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=382): time 5.931e-06/0.298, allocations: 3.094 kB / 0.6547 GB, free: 43.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=382): time 0.1529/0.4509, allocations: 67.97 MB / 0.7211 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.451, allocations: 149.8 kB / 0.7212 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/0.4545, allocations: 3.253 MB / 0.7244 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000369/0.4548, allocations: 89.7 kB / 0.7245 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.4558, allocations: 1.998 MB / 0.7264 GB, free: 3.258 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001133/0.457, allocations: 1.358 MB / 0.7277 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009658/0.4579, allocations: 0.6627 MB / 0.7284 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.928e-05/0.458, allocations: 301.1 kB / 0.7287 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003575/0.4616, allocations: 2.635 MB / 0.7313 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003784/0.4654, allocations: 3.253 MB / 0.7344 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03698/0.5024, allocations: 18.97 MB / 0.753 GB, free: 7.637 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-05/0.5024, allocations: 4 kB / 0.753 GB, free: 7.633 MB / 0.573 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.03054/0.5329, allocations: 16.89 MB / 0.7695 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.533, allocations: 63.41 kB / 0.7695 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.533, allocations: 19.75 kB / 0.7695 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01381/0.5468, allocations: 7.225 MB / 0.7766 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.5487, allocations: 0.6669 MB / 0.7772 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05055/0.5992, allocations: 32.79 MB / 0.8093 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/0.603, allocations: 0.6221 MB / 0.8099 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002775/0.6032, allocations: 160 kB / 0.81 GB, free: 13.31 MB / 0.6355 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.001418/0.6046, allocations: 0.6633 MB / 0.8107 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005744/0.6052, allocations: 480.9 kB / 0.8111 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02986/0.6351, allocations: 16.73 MB / 0.8275 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.6351, allocations: 36 kB / 0.8275 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.687e-05/0.6351, allocations: 35.11 kB / 0.8275 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-05/0.6352, allocations: 15.94 kB / 0.8275 GB, free: 11.43 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.0342/0.6694, allocations: 20.38 MB / 0.8474 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.6694, allocations: 0 / 0.8474 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.6705, allocations: 393.2 kB / 0.8478 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1947/0.8651, allocations: 7.368 MB / 0.855 GB, free: 228.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009474/0.8661, allocations: 73.78 kB / 0.8551 GB, free: 228.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04727/0.9134, allocations: 30.78 MB / 0.8852 GB, free: 219.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9134, allocations: 3.844 kB / 0.8852 GB, free: 219.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03261/0.946, allocations: 20.15 MB / 0.9048 GB, free: 214 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.947, allocations: 0.5087 MB / 0.9053 GB, free: 213.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004116/0.9474, allocations: 64.5 kB / 0.9054 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/0.9495, allocations: 377.9 kB / 0.9057 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00202/0.9515, allocations: 0.8153 MB / 0.9065 GB, free: 213.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/0.9517, allocations: 91.11 kB / 0.9066 GB, free: 213.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001708/0.9534, allocations: 2.122 MB / 0.9087 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/0.9534, allocations: 0 / 0.9087 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002881/0.9563, allocations: 1.802 MB / 0.9105 GB, free: 211.9 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.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.03118/0.9875, allocations: 20.82 MB / 0.9308 GB, free: 195.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01263/1, allocations: 8.939 MB / 0.9395 GB, free: 186.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1, allocations: 0 / 0.9395 GB, free: 186.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.009132/1.009, allocations: 5.899 MB / 0.9453 GB, free: 180.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/1.011, allocations: 397.8 kB / 0.9457 GB, free: 179.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0766/1.088, allocations: 58.15 MB / 1.002 GB, free: 121 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/1.089, allocations: 1.927 MB / 1.004 GB, free: 119 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008904/1.09, allocations: 375.1 kB / 1.005 GB, free: 118.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/1.091, allocations: 2.019 MB / 1.007 GB, free: 116.6 MB / 0.6667 GB Notification: Performance of SimCode: time 1.042e-06/1.091, allocations: 5.062 kB / 1.007 GB, free: 116.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2815/1.373, allocations: 138.3 MB / 1.142 GB, free: 220.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.8, allocations: 5.438 kB / 1.142 GB, free: 220.1 MB / 0.6667 GB " [Timeout remaining time 646] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.20061389915645] Failed to read output from testmodel.py, exit status != 0: 13.948808759450912 13.957586609 13.734638723 Calling exit ...