Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001903/0.001903, allocations: 110 kB / 16.46 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.483/1.483, allocations: 230.6 MB / 249.8 MB, free: 9.223 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.001617/0.001617, allocations: 208.8 kB / 306 MB, free: 4.301 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.6019/0.6019, allocations: 101.3 MB / 463.4 MB, free: 11.92 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.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",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.002463/0.002463, allocations: 83.89 kB / 0.6193 GB, free: 15.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1814, allocations: 78.58 MB / 0.6961 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.3471/0.5285, allocations: 6.245 MB / 0.7022 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004347/0.5329, allocations: 1.923 MB / 0.704 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009194/0.5338, allocations: 9.781 kB / 0.7041 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006018/0.5344, allocations: 210.7 kB / 0.7043 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.5366, allocations: 0.8247 MB / 0.7051 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.538, allocations: 0.5889 MB / 0.7056 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.5398, allocations: 1.379 MB / 0.707 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.5402, allocations: 203.4 kB / 0.7072 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008618/0.5411, allocations: 0.6057 MB / 0.7078 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008433/0.5419, allocations: 0.7763 MB / 0.7085 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.5421, allocations: 105 kB / 0.7086 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005572/0.5426, allocations: 253.9 kB / 0.7089 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.5429, allocations: 284.9 kB / 0.7091 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005012/0.5434, allocations: 0.6165 MB / 0.7097 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.5453, allocations: 1.515 MB / 0.7112 GB, free: 272 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5453, allocations: 0 / 0.7112 GB, free: 272 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5453, allocations: 0 / 0.7112 GB, free: 272 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.5454, allocations: 0 / 0.7112 GB, free: 272 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.009159/0.5545, allocations: 2.547 MB / 0.7137 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.5546, allocations: 10.72 kB / 0.7137 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001938/0.5548, allocations: 119.7 kB / 0.7138 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005209/0.56, allocations: 0.7675 MB / 0.7146 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.5618, allocations: 0.8041 MB / 0.7154 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003467/0.5621, allocations: 259 kB / 0.7156 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.5623, allocations: 78.08 kB / 0.7157 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/0.565, allocations: 1.174 MB / 0.7168 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.565, allocations: 0 / 0.7168 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.687e-05/0.5651, allocations: 28.84 kB / 0.7169 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.5651, allocations: 18.06 kB / 0.7169 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.5674, allocations: 0.9484 MB / 0.7178 GB, free: 13.21 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.007691/0.5751, allocations: 3.569 MB / 0.7213 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008387/0.5835, allocations: 2.222 MB / 0.7235 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.5853, allocations: 0.5929 MB / 0.724 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.5854, allocations: 26.27 kB / 0.7241 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.5855, allocations: 42.62 kB / 0.7241 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=92): time 2.925e-06/0.5855, allocations: 0 / 0.7241 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=92): time 0.03039/0.6159, allocations: 6.847 MB / 0.7308 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.616, allocations: 102.5 kB / 0.7309 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.6178, allocations: 0.9688 MB / 0.7318 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003198/0.6181, allocations: 41.39 kB / 0.7319 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.6185, allocations: 466.5 kB / 0.7323 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004431/0.6189, allocations: 328 kB / 0.7326 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005166/0.6195, allocations: 260.6 kB / 0.7329 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.6196, allocations: 305.1 kB / 0.7332 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.6212, allocations: 0.6924 MB / 0.7339 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.6231, allocations: 0.9167 MB / 0.7347 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02508/0.6481, allocations: 5.278 MB / 0.7399 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/0.6482, allocations: 6 kB / 0.7399 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01444/0.6626, allocations: 4.118 MB / 0.7439 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.6626, allocations: 10.81 kB / 0.7439 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.6627, allocations: 9.484 kB / 0.7439 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005949/0.6686, allocations: 1.52 MB / 0.7454 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.67, allocations: 266.6 kB / 0.7457 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02186/0.6919, allocations: 8.276 MB / 0.7538 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.6939, allocations: 175.1 kB / 0.7539 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.6941, allocations: 59.97 kB / 0.754 GB, free: 6.133 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: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * 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.000734/0.6948, allocations: 263.1 kB / 0.7542 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/0.6959, allocations: 345.5 kB / 0.7546 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.7088, allocations: 3.553 MB / 0.758 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.7088, allocations: 12 kB / 0.7581 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.7088, allocations: 4 kB / 0.7581 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-05/0.7089, allocations: 7.984 kB / 0.7581 GB, free: 1.934 MB / 0.5137 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.01635/0.7252, allocations: 5.119 MB / 0.7631 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/0.7252, allocations: 0 / 0.7631 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007369/0.726, allocations: 107.8 kB / 0.7632 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006152/0.7321, allocations: 1.583 MB / 0.7647 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/0.7323, allocations: 23.98 kB / 0.7647 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02217/0.7545, allocations: 10.77 MB / 0.7753 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/0.7545, allocations: 5.016 kB / 0.7753 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01576/0.7703, allocations: 4.576 MB / 0.7797 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005851/0.7709, allocations: 216.1 kB / 0.7799 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.771, allocations: 16 kB / 0.7799 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.7721, allocations: 91.89 kB / 0.78 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005872/0.7726, allocations: 172.8 kB / 0.7802 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.627e-05/0.7727, allocations: 24 kB / 0.7802 GB, free: 10.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009586/0.7737, allocations: 0.6395 MB / 0.7808 GB, free: 10.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7737, allocations: 0 / 0.7808 GB, free: 10.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001687/0.7754, allocations: 443.7 kB / 0.7813 GB, free: 9.664 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0159/0.7913, allocations: 5.196 MB / 0.7863 GB, free: 4.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006534/0.7978, allocations: 2.163 MB / 0.7885 GB, free: 2.254 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7978, allocations: 0 / 0.7885 GB, free: 2.254 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004178/0.802, allocations: 1.26 MB / 0.7897 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.8037, allocations: 346.8 kB / 0.79 GB, free: 0.625 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04067/0.8444, allocations: 15 MB / 0.8047 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007884/0.8452, allocations: 1.081 MB / 0.8057 GB, free: 244 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005605/0.8457, allocations: 95.33 kB / 0.8058 GB, free: 144 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006647/0.8464, allocations: 439.4 kB / 0.8062 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/0.8464, allocations: 4 kB / 0.8062 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07594/0.9223, allocations: 31.68 MB / 0.8372 GB, free: 220 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.83/18.75, allocations: 320 / 0.8372 GB, free: 220 kB / 0.5919 GB " [Timeout remaining time 641] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 0.001 --interface-type ModelExchange --solver CVode --output-interval 0.01 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.442624582909048] Failed to read output from testmodel.py, exit status != 0: 18.8668986200355 18.888910805 18.339011221 Calling exit ...