Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.0007575/0.0007575, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8399/0.8399, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001063/0.001063, allocations: 159.2 kB / 256 MB, free: 13.34 MB / 250.7 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.2537/0.2537, allocations: 80.36 MB / 392.7 MB, free: 2.391 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.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_Continuous,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.555 GB, free: 12.6 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.117e-05, allocations: 6.281 kB / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.004762/0.004783, allocations: 5.824 MB / 0.5607 GB, free: 6.734 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.007841, allocations: 1.927 MB / 0.5625 GB, free: 4.801 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006971/0.008538, allocations: 8 kB / 0.5626 GB, free: 4.793 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006643/0.009202, allocations: 237.9 kB / 0.5628 GB, free: 4.559 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.01084, allocations: 0.8592 MB / 0.5636 GB, free: 3.699 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.01191, allocations: 0.6529 MB / 0.5643 GB, free: 3.051 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.01341, allocations: 1.595 MB / 0.5658 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.01378, allocations: 210.9 kB / 0.566 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.01489, allocations: 0.9077 MB / 0.5669 GB, free: 328 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000698/0.01559, allocations: 0.6659 MB / 0.5676 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.01572, allocations: 120 kB / 0.5677 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.01613, allocations: 275.7 kB / 0.5679 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.01632, allocations: 338.5 kB / 0.5683 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002971/0.01662, allocations: 450.5 kB / 0.5687 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.01796, allocations: 1.729 MB / 0.5704 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.01796, allocations: 4 kB / 0.5704 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.01796, allocations: 0 / 0.5704 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.926e-05/0.01798, allocations: 3.984 kB / 0.5704 GB, free: 12.75 MB / 0.4948 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.004914/0.0229, allocations: 2.796 MB / 0.5731 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.02294, allocations: 8.031 kB / 0.5731 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.02305, allocations: 134.6 kB / 0.5732 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/0.02552, allocations: 0.7913 MB / 0.574 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.02662, allocations: 0.8268 MB / 0.5748 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.02683, allocations: 345.2 kB / 0.5752 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.02696, allocations: 84 kB / 0.5752 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.0283, allocations: 1.108 MB / 0.5763 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.02832, allocations: 0 / 0.5763 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-05/0.02838, allocations: 35.94 kB / 0.5763 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.02839, allocations: 16 kB / 0.5764 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.02964, allocations: 1.009 MB / 0.5773 GB, free: 5.414 MB / 0.4948 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.004135/0.03377, allocations: 2.98 MB / 0.5803 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003603/0.03737, allocations: 2.015 MB / 0.5822 GB, free: 340 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008613/0.03823, allocations: 0.645 MB / 0.5829 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.282e-05/0.03831, allocations: 13 kB / 0.5829 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.03934, allocations: 0.8429 MB / 0.5837 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 3.126e-06/0.03934, allocations: 0 / 0.5837 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.01466/0.054, allocations: 6.962 MB / 0.5905 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.05407, allocations: 115.8 kB / 0.5906 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.05533, allocations: 1.087 MB / 0.5917 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.0555, allocations: 41.7 kB / 0.5917 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005385/0.05604, allocations: 0.4937 MB / 0.5922 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003837/0.05642, allocations: 372.8 kB / 0.5925 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/0.05678, allocations: 291.5 kB / 0.5928 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.54e-05/0.05684, allocations: 305.1 kB / 0.5931 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.05787, allocations: 0.8154 MB / 0.5939 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.05896, allocations: 0.9922 MB / 0.5949 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1948/0.2537, allocations: 5.791 MB / 0.6005 GB, free: 91.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.2538, allocations: 3.188 kB / 0.6005 GB, free: 91.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.006886/0.2606, allocations: 4.37 MB / 0.6048 GB, free: 90.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.2607, allocations: 61.86 kB / 0.6049 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.2607, allocations: 4.094 kB / 0.6049 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002729/0.2634, allocations: 1.498 MB / 0.6063 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009889/0.2644, allocations: 304.5 kB / 0.6066 GB, free: 90.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.2762, allocations: 7.985 MB / 0.6144 GB, free: 86.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.2774, allocations: 216.8 kB / 0.6146 GB, free: 86.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.2775, allocations: 56.11 kB / 0.6147 GB, free: 86.59 MB / 0.5105 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.0004822/0.278, allocations: 301.8 kB / 0.615 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.2782, allocations: 130.8 kB / 0.6151 GB, free: 86.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007164/0.2854, allocations: 3.87 MB / 0.6189 GB, free: 85.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.2854, allocations: 10.28 kB / 0.6189 GB, free: 85.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.2854, allocations: 11.38 kB / 0.6189 GB, free: 85.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-05/0.2854, allocations: 5.062 kB / 0.6189 GB, free: 85.33 MB / 0.5105 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.008831/0.2942, allocations: 4.988 MB / 0.6238 GB, free: 83.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.2943, allocations: 1.438 kB / 0.6238 GB, free: 83.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.2947, allocations: 105 kB / 0.6239 GB, free: 83.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002944/0.2976, allocations: 1.589 MB / 0.6254 GB, free: 83.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.2978, allocations: 17.81 kB / 0.6254 GB, free: 83.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/0.3089, allocations: 9.242 MB / 0.6345 GB, free: 78.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3089, allocations: 6.25 kB / 0.6345 GB, free: 78.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00764/0.3166, allocations: 4.773 MB / 0.6391 GB, free: 76.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.3169, allocations: 146.5 kB / 0.6393 GB, free: 76.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.317, allocations: 27.61 kB / 0.6393 GB, free: 76.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.3176, allocations: 112.9 kB / 0.6394 GB, free: 76.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004114/0.318, allocations: 202.3 kB / 0.6396 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.3181, allocations: 26.62 kB / 0.6396 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006501/0.3187, allocations: 0.729 MB / 0.6403 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3187, allocations: 0 / 0.6403 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00112/0.3199, allocations: 469.7 kB / 0.6408 GB, free: 75.51 MB / 0.5105 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.007245/0.3271, allocations: 5.365 MB / 0.646 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00342/0.3305, allocations: 2.432 MB / 0.6484 GB, free: 68.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3305, allocations: 0 / 0.6484 GB, free: 68.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002135/0.3327, allocations: 1.553 MB / 0.6499 GB, free: 66.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/0.3334, allocations: 114.1 kB / 0.65 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/0.3539, allocations: 16.09 MB / 0.6657 GB, free: 50.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.3541, allocations: 0.5238 MB / 0.6662 GB, free: 49.94 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000397/0.3545, allocations: 127 kB / 0.6664 GB, free: 49.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/0.3549, allocations: 472.3 kB / 0.6668 GB, free: 49.36 MB / 0.5105 GB Notification: Performance of SimCode: time 1.423e-06/0.3549, allocations: 0 / 0.6668 GB, free: 49.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0419/0.3968, allocations: 37.72 MB / 0.7036 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.41/8.807, allocations: 2.656 kB / 0.7037 GB, free: 11.96 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous_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_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.026211809366941] Failed to read output from testmodel.py, exit status != 0: 8.911253198049963 8.917887006 8.898234459 Calling exit ...