Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001739/0.001739, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.599/1.599, allocations: 230.6 MB / 249.8 MB, free: 9.227 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.001649/0.001649, allocations: 223.2 kB / 306 MB, free: 4.316 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.6229/0.6229, allocations: 101.3 MB / 463.4 MB, free: 11.91 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.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.002827/0.002827, allocations: 81.61 kB / 0.6193 GB, free: 15.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1927, allocations: 78.57 MB / 0.6961 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.4039/0.5966, allocations: 6.623 MB / 0.7025 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004781/0.6014, allocations: 2.017 MB / 0.7045 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009406/0.6023, allocations: 16.97 kB / 0.7045 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007765/0.6031, allocations: 238.7 kB / 0.7047 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.6053, allocations: 0.8633 MB / 0.7056 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.6067, allocations: 0.638 MB / 0.7062 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.6087, allocations: 1.582 MB / 0.7077 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.6091, allocations: 227.7 kB / 0.708 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009488/0.6101, allocations: 0.6705 MB / 0.7086 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.6111, allocations: 0.8394 MB / 0.7094 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.6113, allocations: 121.5 kB / 0.7096 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006459/0.6119, allocations: 284.7 kB / 0.7098 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002999/0.6122, allocations: 327 kB / 0.7101 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005431/0.6128, allocations: 0.6738 MB / 0.7108 GB, free: 344 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002522/0.6153, allocations: 1.696 MB / 0.7125 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6153, allocations: 0 / 0.7125 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.305e-06/0.6153, allocations: 0 / 0.7125 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.064e-05/0.6153, allocations: 0 / 0.7125 GB, free: 15.56 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.01011/0.6254, allocations: 2.75 MB / 0.7151 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.6255, allocations: 8.75 kB / 0.7151 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001879/0.6257, allocations: 129.3 kB / 0.7153 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.631, allocations: 0.7943 MB / 0.716 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.6329, allocations: 0.9013 MB / 0.7169 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003402/0.6332, allocations: 258.3 kB / 0.7172 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.6334, allocations: 87.81 kB / 0.7173 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.6359, allocations: 1.086 MB / 0.7183 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.636, allocations: 0 / 0.7183 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.6361, allocations: 30.75 kB / 0.7183 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.6361, allocations: 22.91 kB / 0.7184 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/0.6387, allocations: 0.9864 MB / 0.7193 GB, free: 12.35 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.008908/0.6476, allocations: 3.842 MB / 0.7231 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008556/0.6562, allocations: 2.3 MB / 0.7253 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.6579, allocations: 0.614 MB / 0.7259 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.658, allocations: 16.23 kB / 0.7259 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001876/0.6599, allocations: 0.8251 MB / 0.7267 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 3.076e-06/0.6599, allocations: 0 / 0.7267 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.0318/0.6917, allocations: 7.054 MB / 0.7336 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.6918, allocations: 121.4 kB / 0.7338 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/0.6942, allocations: 1.086 MB / 0.7348 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003438/0.6945, allocations: 45.77 kB / 0.7349 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/0.695, allocations: 0.4924 MB / 0.7353 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005744/0.6956, allocations: 371.2 kB / 0.7357 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006458/0.6963, allocations: 293.4 kB / 0.736 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6964, allocations: 302.3 kB / 0.7363 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.6982, allocations: 0.7628 MB / 0.737 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/0.7002, allocations: 0.934 MB / 0.7379 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02776/0.728, allocations: 5.789 MB / 0.7436 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/0.728, allocations: 1.375 kB / 0.7436 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01573/0.7438, allocations: 4.32 MB / 0.7478 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.7439, allocations: 63.39 kB / 0.7479 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.7439, allocations: 4 kB / 0.7479 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006094/0.75, allocations: 1.509 MB / 0.7493 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.7517, allocations: 299.5 kB / 0.7496 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/0.7737, allocations: 8.271 MB / 0.7577 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/0.776, allocations: 203.1 kB / 0.7579 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/0.7762, allocations: 55.97 kB / 0.7579 GB, free: 2.059 MB / 0.5137 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.0007788/0.777, allocations: 312.4 kB / 0.7582 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/0.7773, allocations: 139 kB / 0.7584 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/0.7914, allocations: 3.842 MB / 0.7621 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.7914, allocations: 11.89 kB / 0.7621 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/0.7915, allocations: 8 kB / 0.7621 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.77e-05/0.7915, allocations: 7.969 kB / 0.7621 GB, free: 13.71 MB / 0.5294 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.01706/0.8085, allocations: 5.432 MB / 0.7675 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.8086, allocations: 0 / 0.7675 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007265/0.8093, allocations: 103.8 kB / 0.7675 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006222/0.8155, allocations: 1.586 MB / 0.7691 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002758/0.8158, allocations: 20 kB / 0.7691 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02381/0.8396, allocations: 9.65 MB / 0.7785 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8396, allocations: 2.719 kB / 0.7785 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0163/0.8559, allocations: 4.72 MB / 0.7832 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006635/0.8566, allocations: 235.9 kB / 0.7834 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004457/0.857, allocations: 20 kB / 0.7834 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.8584, allocations: 107.9 kB / 0.7835 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007039/0.8591, allocations: 192.7 kB / 0.7837 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.306e-05/0.8592, allocations: 27.98 kB / 0.7837 GB, free: 7.176 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00133/0.8605, allocations: 0.7312 MB / 0.7844 GB, free: 6.438 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8605, allocations: 0 / 0.7844 GB, free: 6.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001848/0.8624, allocations: 475.7 kB / 0.7849 GB, free: 5.973 MB / 0.545 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.01777/0.8801, allocations: 5.299 MB / 0.7901 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007288/0.8874, allocations: 2.372 MB / 0.7924 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.8874, allocations: 4 kB / 0.7924 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004943/0.8924, allocations: 1.532 MB / 0.7939 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.8941, allocations: 116.4 kB / 0.794 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04757/0.9417, allocations: 16.03 MB / 0.8096 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.9429, allocations: 1.124 MB / 0.8107 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007198/0.9436, allocations: 120.1 kB / 0.8108 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009634/0.9446, allocations: 471.3 kB / 0.8113 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of SimCode: time 1.353e-06/0.9446, allocations: 0 / 0.8113 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08406/1.029, allocations: 34.69 MB / 0.8452 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16.47, allocations: 14.58 kB / 0.8452 GB, free: 7.992 MB / 0.6075 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.527582885930315] Failed to read output from testmodel.py, exit status != 0: 16.587475806009024 16.614375688 15.994382291 Calling exit ...