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.001448/0.001448, 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.541/1.541, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001592/0.001592, allocations: 213 kB / 309.2 MB, free: 3.094 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.6805/0.6805, allocations: 107.2 MB / 472.8 MB, free: 29.87 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.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: 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.002545/0.002545, allocations: 95.25 kB / 0.6332 GB, free: 29.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1667, allocations: 80.14 MB / 0.7114 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02307/0.1898, allocations: 18.41 MB / 0.7294 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01437/0.2042, allocations: 4.826 MB / 0.7341 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005209/0.2094, allocations: 44 kB / 0.7342 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003771/0.2132, allocations: 0.8788 MB / 0.735 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009701/0.2229, allocations: 2.272 MB / 0.7372 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007225/0.2301, allocations: 2.052 MB / 0.7392 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01126/0.2413, allocations: 5.732 MB / 0.7448 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/0.2445, allocations: 0.861 MB / 0.7457 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005352/0.2499, allocations: 2.404 MB / 0.748 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005211/0.2551, allocations: 2.666 MB / 0.7506 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002364/0.2575, allocations: 436 kB / 0.751 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.2604, allocations: 0.5976 MB / 0.7516 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002406/0.2628, allocations: 1.155 MB / 0.7528 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004715/0.2675, allocations: 2.117 MB / 0.7548 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.2798, allocations: 6.321 MB / 0.761 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2798, allocations: 0 / 0.761 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2798, allocations: 0 / 0.761 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003378/0.2801, allocations: 0 / 0.761 GB, free: 4.605 MB / 0.5294 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.03744/0.3176, allocations: 9.903 MB / 0.7707 GB, free: 10.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.3176, allocations: 8.031 kB / 0.7707 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001996/0.3196, allocations: 488.8 kB / 0.7711 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02823/0.3478, allocations: 4.055 MB / 0.7751 GB, free: 6.051 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008176/0.356, allocations: 2.567 MB / 0.7776 GB, free: 3.395 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001501/0.3575, allocations: 1.036 MB / 0.7786 GB, free: 2.203 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/0.3593, allocations: 352 kB / 0.779 GB, free: 1.859 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/0.3751, allocations: 4.76 MB / 0.7836 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001288/0.3752, allocations: 4 kB / 0.7836 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001243/0.3765, allocations: 140 kB / 0.7837 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.165e-05/0.3766, allocations: 84 kB / 0.7838 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01274/0.3893, allocations: 4.242 MB / 0.788 GB, free: 8.586 MB / 0.5606 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.04208/0.4314, allocations: 13.4 MB / 0.801 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/0.4454, allocations: 4.349 MB / 0.8053 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007065/0.4525, allocations: 2.507 MB / 0.8077 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007489/0.4533, allocations: 58.95 kB / 0.8078 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008746/0.462, allocations: 3.194 MB / 0.8109 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=382): time 9.077e-06/0.462, allocations: 0 / 0.8109 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=382): time 0.6584/1.12, allocations: 67.99 MB / 0.8773 GB, free: 43.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.857e-05/1.12, allocations: 141.8 kB / 0.8774 GB, free: 43.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005531/1.126, allocations: 3.25 MB / 0.8806 GB, free: 40.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001108/1.127, allocations: 89.72 kB / 0.8807 GB, free: 40.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/1.129, allocations: 2.009 MB / 0.8827 GB, free: 38.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002257/1.131, allocations: 1.369 MB / 0.884 GB, free: 37.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003575/1.134, allocations: 0.6715 MB / 0.8847 GB, free: 36.74 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.804e-05/1.134, allocations: 301.1 kB / 0.8849 GB, free: 36.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005991/1.14, allocations: 2.635 MB / 0.8875 GB, free: 33.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006215/1.147, allocations: 3.255 MB / 0.8907 GB, free: 30.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06658/1.213, allocations: 18.97 MB / 0.9092 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.388e-05/1.213, allocations: 4 kB / 0.9092 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05789/1.271, allocations: 16.88 MB / 0.9257 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/1.271, allocations: 67.39 kB / 0.9258 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.566e-05/1.271, allocations: 16 kB / 0.9258 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02792/1.299, allocations: 7.225 MB / 0.9328 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003859/1.303, allocations: 0.6636 MB / 0.9335 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.106/1.409, allocations: 32.79 MB / 0.9655 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006719/1.416, allocations: 0.6312 MB / 0.9661 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/1.417, allocations: 156 kB / 0.9663 GB, free: 0.5664 MB / 0.6231 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.003811/1.421, allocations: 0.6718 MB / 0.9669 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002135/1.423, allocations: 484.8 kB / 0.9674 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06287/1.486, allocations: 16.73 MB / 0.9837 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.522e-05/1.486, allocations: 36.56 kB / 0.9838 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001325/1.486, allocations: 32 kB / 0.9838 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001236/1.486, allocations: 19.92 kB / 0.9838 GB, free: 14.53 MB / 0.6544 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.07387/1.56, allocations: 20.38 MB / 1.004 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.39e-05/1.56, allocations: 0 / 1.004 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/1.563, allocations: 387.5 kB / 1.004 GB, free: 9.781 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02807/1.591, allocations: 7.372 MB / 1.011 GB, free: 2.395 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001107/1.592, allocations: 67.98 kB / 1.011 GB, free: 2.328 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09663/1.688, allocations: 30.79 MB / 1.041 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.688, allocations: 8 kB / 1.041 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07078/1.759, allocations: 20.15 MB / 1.061 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/1.761, allocations: 0.4982 MB / 1.062 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001851/1.763, allocations: 60 kB / 1.062 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005528/1.768, allocations: 383.6 kB / 1.062 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003994/1.772, allocations: 0.8192 MB / 1.063 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009857/1.773, allocations: 95.98 kB / 1.063 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004751/1.778, allocations: 2.109 MB / 1.065 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.778, allocations: 4 kB / 1.065 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.008826/1.787, allocations: 1.808 MB / 1.067 GB, free: 9.398 MB / 0.7325 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.07202/1.859, allocations: 20.82 MB / 1.087 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.03053/1.889, allocations: 8.962 MB / 1.096 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.889, allocations: 0 / 1.096 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.02189/1.911, allocations: 5.931 MB / 1.102 GB, free: 5.465 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005599/1.917, allocations: 385 kB / 1.102 GB, free: 5.086 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5469/2.464, allocations: 58.21 MB / 1.159 GB, free: 244.2 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003405/2.467, allocations: 1.927 MB / 1.161 GB, free: 242.3 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002282/2.47, allocations: 375.8 kB / 1.161 GB, free: 241.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003013/2.473, allocations: 2.018 MB / 1.163 GB, free: 239.9 MB / 0.7637 GB Notification: Performance of SimCode: time 1.944e-06/2.473, allocations: 0 / 1.163 GB, free: 239.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1961/2.669, allocations: 137.9 MB / 1.298 GB, free: 102.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.31/24.98, allocations: 7.938 kB / 1.298 GB, free: 102.4 MB / 0.7637 GB " [Timeout remaining time 635] (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: 29.330041779670864] Failed to read output from testmodel.py, exit status != 0: 25.171173946000636 25.190080324 24.906366203 Calling exit ...