Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001657/0.001657, allocations: 104 kB / 16.45 MB, free: 6.453 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.507/1.507, allocations: 230.6 MB / 249.8 MB, free: 9.219 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.001781/0.001781, allocations: 219.4 kB / 306 MB, free: 4.289 MB / 238.1 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.5619/0.5619, allocations: 101.3 MB / 463.4 MB, free: 11.9 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.002576/0.002576, allocations: 81.77 kB / 0.6194 GB, free: 15.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1878, allocations: 78.57 MB / 0.6962 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.3888/0.5766, allocations: 21.83 MB / 0.7175 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01505/0.5916, allocations: 4.907 MB / 0.7223 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006299/0.5979, allocations: 45.31 kB / 0.7223 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.6021, allocations: 0.8869 MB / 0.7232 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.6138, allocations: 2.298 MB / 0.7254 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007403/0.6212, allocations: 2.065 MB / 0.7274 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01305/0.6343, allocations: 5.707 MB / 0.733 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00381/0.6381, allocations: 0.9092 MB / 0.7339 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006773/0.6448, allocations: 2.389 MB / 0.7362 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007035/0.6519, allocations: 2.96 MB / 0.7391 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002981/0.6549, allocations: 437.3 kB / 0.7396 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004146/0.659, allocations: 0.6033 MB / 0.7401 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00308/0.6621, allocations: 1.148 MB / 0.7413 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.007111/0.6692, allocations: 2.616 MB / 0.7438 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01549/0.6847, allocations: 6.257 MB / 0.7499 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.6847, allocations: 1.156 kB / 0.7499 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.785e-06/0.6847, allocations: 0 / 0.7499 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004225/0.6851, allocations: 0 / 0.7499 GB, free: 5.293 MB / 0.5137 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.0409/0.726, allocations: 9.348 MB / 0.7591 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.7261, allocations: 9.188 kB / 0.7591 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002312/0.7284, allocations: 490.9 kB / 0.7595 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03005/0.7584, allocations: 4.047 MB / 0.7635 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008471/0.7669, allocations: 2.693 MB / 0.7661 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001429/0.7683, allocations: 0.9573 MB / 0.7671 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001724/0.7701, allocations: 352.5 kB / 0.7674 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.7861, allocations: 4.731 MB / 0.772 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/0.7862, allocations: 3.984 kB / 0.772 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001187/0.7874, allocations: 140 kB / 0.7721 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-05/0.7875, allocations: 87.98 kB / 0.7722 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01212/0.7996, allocations: 4.24 MB / 0.7764 GB, free: 15.52 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 preOpt removeSimpleEquations (simulation): time 0.04874/0.8484, allocations: 18.22 MB / 0.7942 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/0.8632, allocations: 4.648 MB / 0.7987 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007252/0.8705, allocations: 2.474 MB / 0.8011 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009501/0.8714, allocations: 62.92 kB / 0.8012 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00962/0.8811, allocations: 3.173 MB / 0.8043 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=382): time 9.969e-06/0.8811, allocations: 4 kB / 0.8043 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=382): time 0.3261/1.207, allocations: 68.09 MB / 0.8708 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/1.207, allocations: 141.8 kB / 0.8709 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005677/1.213, allocations: 3.226 MB / 0.8741 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.00129/1.214, allocations: 89.7 kB / 0.8741 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001952/1.216, allocations: 2.001 MB / 0.8761 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002734/1.219, allocations: 1.375 MB / 0.8774 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00166/1.221, allocations: 0.6704 MB / 0.8781 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.221, allocations: 313 kB / 0.8784 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00625/1.227, allocations: 2.577 MB / 0.8809 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007097/1.234, allocations: 3.205 MB / 0.884 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07717/1.311, allocations: 18.98 MB / 0.9026 GB, free: 12.18 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-05/1.311, allocations: 4 kB / 0.9026 GB, free: 12.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.06452/1.376, allocations: 16.83 MB / 0.919 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.376, allocations: 71.39 kB / 0.9191 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-05/1.376, allocations: 12 kB / 0.9191 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02882/1.405, allocations: 7.221 MB / 0.9261 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003787/1.409, allocations: 0.667 MB / 0.9268 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1047/1.513, allocations: 33.76 MB / 0.9598 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008093/1.521, allocations: 0.626 MB / 0.9604 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001751/1.523, allocations: 152 kB / 0.9605 GB, free: 0.5977 MB / 0.7169 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.004065/1.527, allocations: 0.6689 MB / 0.9612 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002369/1.53, allocations: 488.8 kB / 0.9616 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4146/1.944, allocations: 16.69 MB / 0.9779 GB, free: 231.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.772e-05/1.944, allocations: 41.16 kB / 0.978 GB, free: 231.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.587e-05/1.944, allocations: 28.19 kB / 0.978 GB, free: 231.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000129/1.944, allocations: 18.92 kB / 0.978 GB, free: 231.1 MB / 0.7325 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.07102/2.015, allocations: 21.7 MB / 0.9992 GB, free: 227.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.063e-05/2.015, allocations: 0 / 0.9992 GB, free: 227.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/2.018, allocations: 390.3 kB / 0.9996 GB, free: 227.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02743/2.045, allocations: 7.377 MB / 1.007 GB, free: 226.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001145/2.046, allocations: 70.12 kB / 1.007 GB, free: 226.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08031/2.127, allocations: 31.85 MB / 1.038 GB, free: 213.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/2.127, allocations: 0 / 1.038 GB, free: 213.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05946/2.186, allocations: 20.1 MB / 1.058 GB, free: 196.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002009/2.188, allocations: 0.5777 MB / 1.058 GB, free: 196.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001906/2.19, allocations: 64.5 kB / 1.058 GB, free: 196 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005416/2.196, allocations: 375.5 kB / 1.059 GB, free: 195.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003686/2.199, allocations: 0.7883 MB / 1.059 GB, free: 194.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006537/2.2, allocations: 97.92 kB / 1.059 GB, free: 194.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003243/2.203, allocations: 2.113 MB / 1.061 GB, free: 192.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/2.203, allocations: 3.938 kB / 1.062 GB, free: 192.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007167/2.21, allocations: 1.803 MB / 1.063 GB, free: 190.9 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.05934/2.27, allocations: 20.77 MB / 1.084 GB, free: 170 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02605/2.296, allocations: 8.884 MB / 1.092 GB, free: 161.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/2.296, allocations: 0 / 1.092 GB, free: 161.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01964/2.315, allocations: 5.893 MB / 1.098 GB, free: 155.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005136/2.32, allocations: 381 kB / 1.098 GB, free: 154.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1483/2.469, allocations: 57.97 MB / 1.155 GB, free: 96.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/2.471, allocations: 2.447 MB / 1.157 GB, free: 93.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001505/2.472, allocations: 376.1 kB / 1.158 GB, free: 93.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002131/2.474, allocations: 2.014 MB / 1.16 GB, free: 91.22 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/2.474, allocations: 4 kB / 1.16 GB, free: 91.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5561/3.03, allocations: 130.6 MB / 1.287 GB, free: 238.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.52/27.55, allocations: 7.812 kB / 1.287 GB, free: 238.7 MB / 0.7481 GB " [Timeout remaining time 632] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 31.53724267706275] Failed to read output from testmodel.py, exit status != 0: 27.707825646037236 27.720570187 27.033056605 Calling exit ...