Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_dev_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.007253/0.007253, allocations: 97.42 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001407/0.001407, allocations: 196.4 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5412/0.5412, allocations: 91.91 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 80.75 kB / 0.5723 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.136, allocations: 71.28 MB / 0.6419 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.008627/0.1446, allocations: 8.628 MB / 0.6503 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005561/0.1502, allocations: 2.7 MB / 0.6529 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.1514, allocations: 12 kB / 0.653 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.1526, allocations: 325.1 kB / 0.6533 GB, free: 8.352 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.1561, allocations: 1.056 MB / 0.6543 GB, free: 7.293 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.158, allocations: 0.8474 MB / 0.6551 GB, free: 6.449 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002902/0.1609, allocations: 2.238 MB / 0.6573 GB, free: 4.207 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000776/0.1617, allocations: 481.9 kB / 0.6578 GB, free: 3.707 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.1629, allocations: 0.8909 MB / 0.6586 GB, free: 2.812 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.1644, allocations: 1.147 MB / 0.6598 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005081/0.1649, allocations: 192 kB / 0.6599 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.166, allocations: 475.6 kB / 0.6604 GB, free: 1.008 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005407/0.1666, allocations: 474.1 kB / 0.6608 GB, free: 0.543 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.1678, allocations: 0.9556 MB / 0.6618 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002994/0.1708, allocations: 2.467 MB / 0.6642 GB, free: 13.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1708, allocations: 0 / 0.6642 GB, free: 13.11 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1708, allocations: 0 / 0.6642 GB, free: 13.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.798e-05/0.1708, allocations: 0 / 0.6642 GB, free: 13.11 MB / 478.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.01187/0.1827, allocations: 3.693 MB / 0.6678 GB, free: 9.348 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1827, allocations: 8.031 kB / 0.6678 GB, free: 9.34 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001988/0.183, allocations: 160.4 kB / 0.668 GB, free: 9.176 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004381/0.1873, allocations: 0.7715 MB / 0.6687 GB, free: 8.402 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.1892, allocations: 1.138 MB / 0.6698 GB, free: 7.215 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004521/0.1897, allocations: 458.3 kB / 0.6703 GB, free: 6.691 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.1899, allocations: 131.9 kB / 0.6704 GB, free: 6.562 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/0.1926, allocations: 1.468 MB / 0.6718 GB, free: 5.047 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.1927, allocations: 3.984 kB / 0.6718 GB, free: 5.043 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.1928, allocations: 40 kB / 0.6719 GB, free: 5.004 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.1928, allocations: 28 kB / 0.6719 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002782/0.1956, allocations: 1.351 MB / 0.6732 GB, free: 3.625 MB / 478.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.008317/0.2039, allocations: 5.226 MB / 0.6783 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007888/0.2118, allocations: 2.937 MB / 0.6812 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.2137, allocations: 0.9278 MB / 0.6821 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006215/0.2143, allocations: 0.7336 MB / 0.6828 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002048/0.2164, allocations: 1.075 MB / 0.6838 GB, free: 8.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=131): time 3.026e-06/0.2164, allocations: 0 / 0.6838 GB, free: 8.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=131): time 0.03863/0.255, allocations: 9.868 MB / 0.6935 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.2552, allocations: 124.1 kB / 0.6936 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.2571, allocations: 1.426 MB / 0.695 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002539/0.2574, allocations: 57.7 kB / 0.6951 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000449/0.2579, allocations: 0.6402 MB / 0.6957 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004658/0.2583, allocations: 0.4958 MB / 0.6962 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006303/0.259, allocations: 367.4 kB / 0.6965 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.2591, allocations: 301.1 kB / 0.6968 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.2612, allocations: 1.007 MB / 0.6978 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.2635, allocations: 1.227 MB / 0.699 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004132/0.2676, allocations: 2.153 MB / 0.7011 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.2676, allocations: 4 kB / 0.7011 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01693/0.2846, allocations: 5.517 MB / 0.7065 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.2846, allocations: 5.406 kB / 0.7065 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/0.2847, allocations: 16.05 kB / 0.7065 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009211/0.2939, allocations: 2.667 MB / 0.7091 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.2956, allocations: 343.5 kB / 0.7094 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006103/0.3017, allocations: 2.691 MB / 0.7121 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.3038, allocations: 254.7 kB / 0.7123 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.304, allocations: 71.97 kB / 0.7124 GB, free: 10.66 MB / 0.5137 GB 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.0005682/0.3046, allocations: 317.4 kB / 0.7127 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.3049, allocations: 178.8 kB / 0.7128 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/0.3207, allocations: 4.938 MB / 0.7177 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.3208, allocations: 16 kB / 0.7177 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.3208, allocations: 0 / 0.7177 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/0.3208, allocations: 7.969 kB / 0.7177 GB, free: 5.172 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.01942/0.3402, allocations: 7.092 MB / 0.7246 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.3403, allocations: 0 / 0.7246 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008583/0.3411, allocations: 147.8 kB / 0.7248 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0076/0.3488, allocations: 2.201 MB / 0.7269 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000211/0.349, allocations: 27.98 kB / 0.7269 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02899/0.378, allocations: 11.8 MB / 0.7385 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.378, allocations: 4.094 kB / 0.7385 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/0.3973, allocations: 6.106 MB / 0.7444 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006363/0.398, allocations: 287.5 kB / 0.7447 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004777/0.3985, allocations: 28 kB / 0.7447 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.4002, allocations: 123.9 kB / 0.7448 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008709/0.4011, allocations: 269.3 kB / 0.7451 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/0.4013, allocations: 32 kB / 0.7451 GB, free: 8.578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001499/0.4028, allocations: 0.9561 MB / 0.7461 GB, free: 7.625 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.01e-07/0.4028, allocations: 0 / 0.7461 GB, free: 7.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001804/0.4046, allocations: 0.5581 MB / 0.7466 GB, free: 7.066 MB / 0.545 GB 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.01942/0.424, allocations: 6.725 MB / 0.7532 GB, free: 304 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009171/0.4332, allocations: 2.951 MB / 0.7561 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4333, allocations: 0.875 kB / 0.7561 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006473/0.4398, allocations: 2.077 MB / 0.7581 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.4414, allocations: 153.3 kB / 0.7582 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.306/0.7474, allocations: 19.36 MB / 0.7771 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.7485, allocations: 1.255 MB / 0.7784 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006125/0.7491, allocations: 144.4 kB / 0.7785 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007767/0.7499, allocations: 0.6412 MB / 0.7791 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.7499, allocations: 0 / 0.7791 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07104/0.8209, allocations: 45.64 MB / 0.8237 GB, free: 80 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.84, allocations: 2.344 kB / 0.8237 GB, free: 80 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)