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.001393/0.001393, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.527/1.527, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.001609/0.001609, allocations: 219.6 kB / 309.2 MB, free: 3.129 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.5908/0.5908, allocations: 101.3 MB / 467 MB, free: 10.3 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.002481/0.002481, allocations: 91.86 kB / 0.6244 GB, free: 12.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.508/0.5104, allocations: 78.62 MB / 0.7012 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.006578/0.517, allocations: 6.29 MB / 0.7074 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004429/0.5214, allocations: 1.931 MB / 0.7092 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.5228, allocations: 9.094 kB / 0.7093 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006936/0.5234, allocations: 217.3 kB / 0.7095 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.526, allocations: 0.8033 MB / 0.7102 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.5274, allocations: 0.6016 MB / 0.7108 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002064/0.5295, allocations: 1.381 MB / 0.7122 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003745/0.5299, allocations: 201.2 kB / 0.7124 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.5309, allocations: 0.6101 MB / 0.713 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009582/0.5318, allocations: 0.7696 MB / 0.7137 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.532, allocations: 109.9 kB / 0.7138 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006552/0.5327, allocations: 260.7 kB / 0.7141 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.5329, allocations: 287.4 kB / 0.7144 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004966/0.5334, allocations: 0.6119 MB / 0.7149 GB, free: 256 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.5357, allocations: 1.51 MB / 0.7164 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5357, allocations: 0 / 0.7164 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5357, allocations: 0 / 0.7164 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.5357, allocations: 3.062 kB / 0.7164 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.009274/0.545, allocations: 2.473 MB / 0.7188 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.545, allocations: 8.594 kB / 0.7188 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001823/0.5452, allocations: 121.1 kB / 0.719 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00502/0.5502, allocations: 0.7693 MB / 0.7197 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.552, allocations: 0.7388 MB / 0.7204 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004095/0.5524, allocations: 366.9 kB / 0.7208 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.5526, allocations: 73.72 kB / 0.7209 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.555, allocations: 1.171 MB / 0.722 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.5551, allocations: 0 / 0.722 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.015e-05/0.5551, allocations: 26.53 kB / 0.722 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.5552, allocations: 16 kB / 0.722 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.5574, allocations: 0.9513 MB / 0.723 GB, free: 12.54 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.008189/0.5656, allocations: 3.524 MB / 0.7264 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008051/0.5737, allocations: 1.928 MB / 0.7283 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.5754, allocations: 0.5966 MB / 0.7289 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.5755, allocations: 16.22 kB / 0.7289 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/0.5755, allocations: 52.17 kB / 0.7289 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=92): time 3.296e-06/0.5755, allocations: 0 / 0.7289 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=92): time 0.02854/0.6041, allocations: 6.696 MB / 0.7355 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.6042, allocations: 103 kB / 0.7356 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.6059, allocations: 0.9607 MB / 0.7365 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002695/0.6062, allocations: 42.23 kB / 0.7366 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/0.6066, allocations: 466.8 kB / 0.737 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000464/0.6071, allocations: 330.8 kB / 0.7373 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004927/0.6076, allocations: 261 kB / 0.7376 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6077, allocations: 301.1 kB / 0.7379 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.6093, allocations: 0.6928 MB / 0.7385 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/0.6111, allocations: 0.9244 MB / 0.7394 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02457/0.6357, allocations: 5.278 MB / 0.7446 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-05/0.6357, allocations: 2.156 kB / 0.7446 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.0142/0.6499, allocations: 4.113 MB / 0.7486 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.65, allocations: 15.89 kB / 0.7486 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.65, allocations: 9.156 kB / 0.7486 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005739/0.6557, allocations: 1.511 MB / 0.7501 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.6571, allocations: 259.6 kB / 0.7504 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02054/0.6777, allocations: 8.185 MB / 0.7583 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.6796, allocations: 171.2 kB / 0.7585 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.6797, allocations: 59.97 kB / 0.7586 GB, free: 5.184 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.0007252/0.6805, allocations: 254.6 kB / 0.7588 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/0.6816, allocations: 345.5 kB / 0.7591 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/0.6939, allocations: 3.557 MB / 0.7626 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.6939, allocations: 12 kB / 0.7626 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/0.6939, allocations: 4 kB / 0.7626 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.613e-05/0.694, allocations: 7.984 kB / 0.7626 GB, free: 0.9805 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.01552/0.7095, allocations: 5.087 MB / 0.7676 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.7095, allocations: 0 / 0.7676 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/0.7102, allocations: 107.8 kB / 0.7677 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005763/0.716, allocations: 1.582 MB / 0.7693 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/0.7162, allocations: 16 kB / 0.7693 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/0.7371, allocations: 10.56 MB / 0.7796 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7371, allocations: 3.938 kB / 0.7796 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/0.7524, allocations: 4.59 MB / 0.7841 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000546/0.753, allocations: 139 kB / 0.7842 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.7532, allocations: 16 kB / 0.7842 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.7542, allocations: 87.89 kB / 0.7843 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005443/0.7548, allocations: 176.7 kB / 0.7845 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.064e-05/0.7549, allocations: 31.98 kB / 0.7845 GB, free: 10.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009348/0.7558, allocations: 0.6473 MB / 0.7851 GB, free: 9.504 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7558, allocations: 0 / 0.7851 GB, free: 9.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001583/0.7574, allocations: 439.7 kB / 0.7855 GB, free: 9.074 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.01541/0.7728, allocations: 5.181 MB / 0.7906 GB, free: 3.855 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006368/0.7792, allocations: 2.163 MB / 0.7927 GB, free: 1.676 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.7792, allocations: 192 / 0.7927 GB, free: 1.676 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004107/0.7833, allocations: 1.266 MB / 0.794 GB, free: 396 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.785, allocations: 348 kB / 0.7943 GB, free: 36 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03913/0.8242, allocations: 15 MB / 0.8089 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009658/0.8251, allocations: 1.073 MB / 0.81 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005361/0.8257, allocations: 103.3 kB / 0.8101 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008091/0.8265, allocations: 443.3 kB / 0.8105 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of SimCode: time 1.323e-06/0.8265, allocations: 0 / 0.8105 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07921/0.9057, allocations: 32.52 MB / 0.8423 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.55/19.46, allocations: 4 kB / 0.8423 GB, free: 14.73 MB / 0.6075 GB " [Timeout remaining time 640] (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: 23.173632066998834] Failed to read output from testmodel.py, exit status != 0: 19.59479181700226 19.609874153 19.071068504 Calling exit ...