Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 239.3 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 192.5 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.47/0.47, allocations: 78.53 MB / 418.2 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 79.88 kB / 497.6 MB, free: 6.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1472, allocations: 68.18 MB / 0.5525 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.2805/0.4277, allocations: 8.609 MB / 0.5609 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005683/0.4334, allocations: 2.685 MB / 0.5635 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.435, allocations: 14 kB / 0.5635 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009032/0.436, allocations: 318.4 kB / 0.5638 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.4392, allocations: 1.213 MB / 0.565 GB, free: 33.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.4409, allocations: 0.7598 MB / 0.5658 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002572/0.4435, allocations: 2.37 MB / 0.5681 GB, free: 33.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006117/0.4441, allocations: 476 kB / 0.5685 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.4452, allocations: 0.9096 MB / 0.5694 GB, free: 32.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009945/0.4462, allocations: 1.159 MB / 0.5705 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00025/0.4464, allocations: 192.4 kB / 0.5707 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007866/0.4472, allocations: 461.2 kB / 0.5712 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.4475, allocations: 482.5 kB / 0.5716 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006557/0.4482, allocations: 0.9557 MB / 0.5726 GB, free: 32.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002123/0.4503, allocations: 2.429 MB / 0.5749 GB, free: 31.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4503, allocations: 0.625 kB / 0.5749 GB, free: 31.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4504, allocations: 0 / 0.5749 GB, free: 31.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.4504, allocations: 0.625 kB / 0.5749 GB, free: 31.55 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.01336/0.4638, allocations: 3.941 MB / 0.5788 GB, free: 30.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.4638, allocations: 10.25 kB / 0.5788 GB, free: 30.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001852/0.464, allocations: 163.1 kB / 0.5789 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004412/0.4684, allocations: 0.76 MB / 0.5797 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.4702, allocations: 1.123 MB / 0.5808 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003705/0.4706, allocations: 462.5 kB / 0.5812 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.4708, allocations: 119.6 kB / 0.5813 GB, free: 28.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/0.4733, allocations: 1.471 MB / 0.5828 GB, free: 28.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.4734, allocations: 0.6562 kB / 0.5828 GB, free: 28.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.4735, allocations: 49.39 kB / 0.5828 GB, free: 28.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.4735, allocations: 25.41 kB / 0.5828 GB, free: 28.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/0.4765, allocations: 1.348 MB / 0.5842 GB, free: 27.7 MB / 430.1 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.008768/0.4853, allocations: 5.249 MB / 0.5893 GB, free: 24.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008142/0.4934, allocations: 2.937 MB / 0.5922 GB, free: 23.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002165/0.4956, allocations: 0.9238 MB / 0.5931 GB, free: 23.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000459/0.4961, allocations: 0.7267 MB / 0.5938 GB, free: 22.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002368/0.4985, allocations: 1.08 MB / 0.5948 GB, free: 21.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=131): time 4.959e-06/0.4985, allocations: 1.781 kB / 0.5948 GB, free: 21.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.04213/0.5406, allocations: 9.862 MB / 0.6045 GB, free: 19.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.5408, allocations: 120.8 kB / 0.6046 GB, free: 19.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.5432, allocations: 1.435 MB / 0.606 GB, free: 19.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004415/0.5436, allocations: 54.95 kB / 0.606 GB, free: 18.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.544, allocations: 0.6235 MB / 0.6066 GB, free: 18.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005209/0.5446, allocations: 483 kB / 0.6071 GB, free: 18.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006753/0.5453, allocations: 369.2 kB / 0.6074 GB, free: 17.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.5453, allocations: 302.3 kB / 0.6077 GB, free: 17.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.5475, allocations: 1.008 MB / 0.6087 GB, free: 16.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.5497, allocations: 1.226 MB / 0.6099 GB, free: 16.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004256/0.554, allocations: 2.155 MB / 0.612 GB, free: 15.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.554, allocations: 1.25 kB / 0.612 GB, free: 15.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01704/0.5711, allocations: 5.514 MB / 0.6174 GB, free: 11.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.5711, allocations: 7.984 kB / 0.6174 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/0.5712, allocations: 5.188 kB / 0.6174 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008687/0.5799, allocations: 2.672 MB / 0.62 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.5815, allocations: 343.5 kB / 0.6204 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005597/0.5872, allocations: 2.698 MB / 0.623 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/0.5897, allocations: 252.5 kB / 0.6232 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.5899, allocations: 67.98 kB / 0.6233 GB, free: 5.895 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006161/0.5905, allocations: 313.5 kB / 0.6236 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/0.5908, allocations: 169.8 kB / 0.6238 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/0.6058, allocations: 4.939 MB / 0.6286 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.6059, allocations: 12 kB / 0.6286 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.6059, allocations: 4 kB / 0.6286 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.74e-05/0.606, allocations: 8.578 kB / 0.6286 GB, free: 432 kB / 430.1 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 postOpt removeSimpleEquations (simulation): time 0.02023/0.6262, allocations: 7.095 MB / 0.6355 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.6263, allocations: 4.031 kB / 0.6355 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.6273, allocations: 151.8 kB / 0.6357 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007771/0.6351, allocations: 2.204 MB / 0.6378 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002677/0.6354, allocations: 29.86 kB / 0.6379 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02855/0.6639, allocations: 11.8 MB / 0.6494 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.664, allocations: 4.844 kB / 0.6494 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02018/0.6842, allocations: 6.088 MB / 0.6553 GB, free: 4.594 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007935/0.685, allocations: 280.3 kB / 0.6556 GB, free: 4.301 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006377/0.6857, allocations: 28 kB / 0.6556 GB, free: 4.273 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/0.6877, allocations: 127.8 kB / 0.6557 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/0.6887, allocations: 265.4 kB / 0.656 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/0.6889, allocations: 35.98 kB / 0.656 GB, free: 3.852 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001871/0.6908, allocations: 0.9522 MB / 0.657 GB, free: 2.902 MB / 462.1 MB Notification: Performance of sort global known variables: time 4e-07/0.6908, allocations: 0 / 0.657 GB, free: 2.902 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002344/0.6932, allocations: 0.562 MB / 0.6575 GB, free: 2.34 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.TransducerDelay.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 (85): * Single equations (assignments): 83 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02048/0.7137, allocations: 6.714 MB / 0.6641 GB, free: 11.58 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0104/0.7241, allocations: 2.978 MB / 0.667 GB, free: 8.598 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.7242, allocations: 0 / 0.667 GB, free: 8.598 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006833/0.731, allocations: 2.081 MB / 0.669 GB, free: 6.488 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.7331, allocations: 148.5 kB / 0.6692 GB, free: 6.344 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04971/0.7828, allocations: 20.71 MB / 0.6894 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009992/0.7839, allocations: 1.251 MB / 0.6906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007759/0.7847, allocations: 141.5 kB / 0.6907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.7858, allocations: 0.636 MB / 0.6914 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/0.7858, allocations: 4 kB / 0.6914 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09001/0.8758, allocations: 45.09 MB / 0.7354 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.69, allocations: 7.109 kB / 0.7354 GB, free: 1.789 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)