Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.0007452/0.0007452, 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.8759/0.8759, allocations: 177.1 MB / 199.4 MB, free: 5.949 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.001314/0.001314, allocations: 163 kB / 256 MB, free: 13.36 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.2551/0.2551, allocations: 80.37 MB / 392.7 MB, free: 2.379 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.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.5551 GB, free: 12.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.105e-05, allocations: 2.281 kB / 0.5551 GB, free: 12.1 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.2069/0.2069, allocations: 18.6 MB / 0.5732 GB, free: 14.09 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00986/0.2168, allocations: 4.881 MB / 0.578 GB, free: 11.29 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004062/0.2208, allocations: 43.66 kB / 0.5781 GB, free: 11.29 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003734/0.2246, allocations: 0.8955 MB / 0.5789 GB, free: 10.8 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008146/0.2327, allocations: 2.371 MB / 0.5812 GB, free: 9.102 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004868/0.2376, allocations: 2.085 MB / 0.5833 GB, free: 8.047 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.008679/0.2463, allocations: 5.955 MB / 0.5891 GB, free: 4.895 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.248, allocations: 0.8786 MB / 0.59 GB, free: 4.41 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007059/0.2551, allocations: 3.344 MB / 0.5932 GB, free: 2.883 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004203/0.2593, allocations: 2.314 MB / 0.5955 GB, free: 2.062 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001643/0.2609, allocations: 447.5 kB / 0.5959 GB, free: 2.062 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.2636, allocations: 0.6012 MB / 0.5965 GB, free: 2.016 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.2648, allocations: 1.191 MB / 0.5977 GB, free: 1.027 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003498/0.2683, allocations: 1.752 MB / 0.5994 GB, free: 15.94 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007577/0.2758, allocations: 6.4 MB / 0.6056 GB, free: 11.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2758, allocations: 0 / 0.6056 GB, free: 11.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2758, allocations: 4 kB / 0.6056 GB, free: 11.24 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002587/0.2761, allocations: 0 / 0.6056 GB, free: 11.24 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01994/0.296, allocations: 9.931 MB / 0.6153 GB, free: 5.039 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.2961, allocations: 11.97 kB / 0.6153 GB, free: 5.027 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006465/0.2967, allocations: 488.9 kB / 0.6158 GB, free: 4.539 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01348/0.3102, allocations: 4.059 MB / 0.6198 GB, free: 484 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004959/0.3152, allocations: 2.606 MB / 0.6223 GB, free: 13.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006545/0.3158, allocations: 1.037 MB / 0.6233 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000927/0.3167, allocations: 355.9 kB / 0.6237 GB, free: 12.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007002/0.3237, allocations: 4.768 MB / 0.6283 GB, free: 7.441 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.3238, allocations: 0 / 0.6283 GB, free: 7.441 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000276/0.3241, allocations: 147.9 kB / 0.6285 GB, free: 7.297 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.045e-05/0.3241, allocations: 84 kB / 0.6285 GB, free: 7.215 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006742/0.3308, allocations: 4.269 MB / 0.6327 GB, free: 2.934 MB / 474.7 MB 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.02412/0.355, allocations: 13.48 MB / 0.6459 GB, free: 5.016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007258/0.3622, allocations: 4.395 MB / 0.6502 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003992/0.3662, allocations: 2.515 MB / 0.6526 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.3666, allocations: 66.84 kB / 0.6527 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004524/0.3711, allocations: 3.226 MB / 0.6558 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=385): time 6.412e-06/0.3711, allocations: 0 / 0.6558 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=385): time 0.1526/0.5237, allocations: 66.59 MB / 0.7209 GB, free: 7.961 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.5237, allocations: 145.8 kB / 0.721 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003901/0.5276, allocations: 3.294 MB / 0.7242 GB, free: 4.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/0.5287, allocations: 89.7 kB / 0.7243 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.5298, allocations: 2.013 MB / 0.7263 GB, free: 2.363 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001853/0.5316, allocations: 1.375 MB / 0.7276 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.5328, allocations: 0.6747 MB / 0.7283 GB, free: 296 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.5329, allocations: 313.1 kB / 0.7286 GB, free: 15.98 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003816/0.5367, allocations: 2.667 MB / 0.7312 GB, free: 13.29 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004267/0.541, allocations: 3.303 MB / 0.7344 GB, free: 9.758 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04113/0.5821, allocations: 19.34 MB / 0.7533 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/0.5821, allocations: 8 kB / 0.7533 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.03464/0.6167, allocations: 17.19 MB / 0.7701 GB, free: 4.887 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.265e-05/0.6168, allocations: 67.39 kB / 0.7701 GB, free: 4.809 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/0.6169, allocations: 16 kB / 0.7702 GB, free: 4.793 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01508/0.6319, allocations: 7.292 MB / 0.7773 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/0.6342, allocations: 0.6835 MB / 0.7779 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2709/0.9051, allocations: 32.93 MB / 0.8101 GB, free: 196.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00468/0.9098, allocations: 0.635 MB / 0.8107 GB, free: 196.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007565/0.9105, allocations: 153.8 kB / 0.8109 GB, free: 196.4 MB / 0.6355 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 (409): * Single equations (assignments): 406 * 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,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001723/0.9122, allocations: 0.6731 MB / 0.8115 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/0.9133, allocations: 488.6 kB / 0.812 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03293/0.9463, allocations: 16.78 MB / 0.8284 GB, free: 194.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-05/0.9463, allocations: 44.38 kB / 0.8284 GB, free: 194.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.426e-05/0.9464, allocations: 29.88 kB / 0.8284 GB, free: 194.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.136e-05/0.9464, allocations: 17.77 kB / 0.8285 GB, free: 194.5 MB / 0.6355 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.03618/0.9826, allocations: 20.44 MB / 0.8484 GB, free: 189.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/0.9826, allocations: 3.875 kB / 0.8484 GB, free: 189.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.9842, allocations: 392.1 kB / 0.8488 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01324/0.9974, allocations: 7.337 MB / 0.856 GB, free: 187.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008377/0.9982, allocations: 71.89 kB / 0.856 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04308/1.041, allocations: 30.83 MB / 0.8861 GB, free: 159.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.041, allocations: 3.938 kB / 0.8861 GB, free: 159.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03306/1.074, allocations: 20.24 MB / 0.9059 GB, free: 139 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.076, allocations: 0.5067 MB / 0.9064 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001299/1.077, allocations: 71.73 kB / 0.9065 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003227/1.08, allocations: 375.6 kB / 0.9068 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002462/1.083, allocations: 0.8192 MB / 0.9076 GB, free: 137.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004248/1.083, allocations: 101.8 kB / 0.9077 GB, free: 137.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002328/1.085, allocations: 2.145 MB / 0.9098 GB, free: 135.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/1.085, allocations: 0 / 0.9098 GB, free: 135.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00533/1.091, allocations: 1.822 MB / 0.9116 GB, free: 133.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (249): * Single equations (assignments): 246 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03286/1.124, allocations: 20.9 MB / 0.932 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0151/1.139, allocations: 9.031 MB / 0.9408 GB, free: 103.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.139, allocations: 3.938 kB / 0.9408 GB, free: 103.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01027/1.149, allocations: 5.909 MB / 0.9466 GB, free: 97.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/1.152, allocations: 382.3 kB / 0.947 GB, free: 96.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08846/1.24, allocations: 59.12 MB / 1.005 GB, free: 36.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/1.241, allocations: 1.94 MB / 1.007 GB, free: 34.87 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001118/1.242, allocations: 371.3 kB / 1.007 GB, free: 34.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/1.244, allocations: 2.004 MB / 1.009 GB, free: 32.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.322e-06/1.244, allocations: 4 kB / 1.009 GB, free: 32.49 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.312/1.556, allocations: 139.9 MB / 1.146 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/14.58, allocations: 14.33 kB / 1.146 GB, free: 158.5 MB / 0.6511 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.980804284103215] Failed to read output from testmodel.py, exit status != 0: 14.717359217815101 14.722713365 14.445008598 Calling exit ...