Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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.IEEEX1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",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.007209/0.007209, allocations: 99.28 kB / 15.73 MB, free: 6.059 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.319/1.319, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001288/0.001288, allocations: 199.3 kB / 289.7 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4337/0.4337, allocations: 78.53 MB / 418.4 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001433, allocations: 80.08 kB / 0.5532 GB, free: 1.492 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2981, allocations: 68.17 MB / 0.6197 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.007026/0.3052, allocations: 8.723 MB / 0.6283 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005069/0.3103, allocations: 2.774 MB / 0.631 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.3114, allocations: 19.94 kB / 0.631 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009103/0.3123, allocations: 333.2 kB / 0.6313 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002983/0.3154, allocations: 1.294 MB / 0.6326 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.317, allocations: 0.8025 MB / 0.6333 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002672/0.3197, allocations: 2.529 MB / 0.6358 GB, free: 9.684 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006267/0.3203, allocations: 486 kB / 0.6363 GB, free: 9.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.3214, allocations: 0.9494 MB / 0.6372 GB, free: 8.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.3226, allocations: 1.206 MB / 0.6384 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002682/0.3229, allocations: 200 kB / 0.6386 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007278/0.3236, allocations: 471.7 kB / 0.639 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.324, allocations: 0.4981 MB / 0.6395 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007711/0.3248, allocations: 0.979 MB / 0.6405 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.3273, allocations: 2.553 MB / 0.643 GB, free: 2.305 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3273, allocations: 0 / 0.643 GB, free: 2.305 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3273, allocations: 0 / 0.643 GB, free: 2.305 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.3274, allocations: 0 / 0.643 GB, free: 2.305 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.014/0.3414, allocations: 4.084 MB / 0.6469 GB, free: 14.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3414, allocations: 12.03 kB / 0.647 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002078/0.3416, allocations: 160.5 kB / 0.6471 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/0.3462, allocations: 0.7831 MB / 0.6479 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.3482, allocations: 1.209 MB / 0.6491 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004687/0.3487, allocations: 466.4 kB / 0.6495 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/0.349, allocations: 120 kB / 0.6496 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.3519, allocations: 1.495 MB / 0.6511 GB, free: 9.746 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.352, allocations: 4 kB / 0.6511 GB, free: 9.742 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.3521, allocations: 40 kB / 0.6511 GB, free: 9.703 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.3521, allocations: 24 kB / 0.6511 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003004/0.3551, allocations: 1.39 MB / 0.6525 GB, free: 8.281 MB / 462.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.009207/0.3643, allocations: 5.333 MB / 0.6577 GB, free: 2.715 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008467/0.3728, allocations: 2.998 MB / 0.6606 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.3748, allocations: 0.9473 MB / 0.6616 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/0.3754, allocations: 0.7297 MB / 0.6623 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002142/0.3776, allocations: 1.094 MB / 0.6633 GB, free: 12.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=132): time 2.525e-06/0.3776, allocations: 0 / 0.6633 GB, free: 12.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=132): time 0.04045/0.418, allocations: 9.928 MB / 0.673 GB, free: 2.641 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.4181, allocations: 124.1 kB / 0.6732 GB, free: 2.496 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.4205, allocations: 1.539 MB / 0.6747 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002797/0.4208, allocations: 49.7 kB / 0.6747 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004881/0.4212, allocations: 0.6563 MB / 0.6753 GB, free: 240 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005672/0.4218, allocations: 0.5035 MB / 0.6758 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006489/0.4225, allocations: 375.6 kB / 0.6762 GB, free: 15.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.4226, allocations: 305.1 kB / 0.6765 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/0.4247, allocations: 1.035 MB / 0.6775 GB, free: 14.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/0.427, allocations: 1.247 MB / 0.6787 GB, free: 12.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004181/0.4312, allocations: 2.208 MB / 0.6809 GB, free: 10.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.4312, allocations: 0 / 0.6809 GB, free: 10.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.008849/0.4401, allocations: 3.825 MB / 0.6846 GB, free: 6.594 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4401, allocations: 8 kB / 0.6846 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.4401, allocations: 4 kB / 0.6846 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009121/0.4493, allocations: 2.687 MB / 0.6872 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.4509, allocations: 355.5 kB / 0.6876 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006168/0.4571, allocations: 2.685 MB / 0.6902 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/0.4596, allocations: 274.6 kB / 0.6905 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/0.4599, allocations: 67.98 kB / 0.6905 GB, free: 0.4961 MB / 494.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,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * 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.0007954/0.4607, allocations: 317.5 kB / 0.6908 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/0.4611, allocations: 187 kB / 0.691 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/0.4771, allocations: 4.84 MB / 0.6957 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.4772, allocations: 15.94 kB / 0.6958 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4772, allocations: 0 / 0.6958 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.7e-05/0.4772, allocations: 15.97 kB / 0.6958 GB, free: 11.1 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 postOpt removeSimpleEquations (simulation): time 0.01905/0.4963, allocations: 7.041 MB / 0.7026 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.4963, allocations: 0 / 0.7026 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009713/0.4973, allocations: 155.8 kB / 0.7028 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007467/0.5048, allocations: 2.146 MB / 0.7049 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/0.505, allocations: 27.98 kB / 0.7049 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02553/0.5305, allocations: 10.08 MB / 0.7148 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5306, allocations: 3.984 kB / 0.7148 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01841/0.549, allocations: 6.078 MB / 0.7207 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005754/0.5496, allocations: 295.5 kB / 0.721 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.5498, allocations: 28 kB / 0.721 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.5514, allocations: 135.8 kB / 0.7211 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006962/0.5521, allocations: 261.4 kB / 0.7214 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.652e-05/0.5522, allocations: 36 kB / 0.7214 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001463/0.5537, allocations: 1.028 MB / 0.7224 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5537, allocations: 4 kB / 0.7224 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001349/0.555, allocations: 0.5698 MB / 0.723 GB, free: 14.9 MB / 0.5294 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,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.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 (89): * Single equations (assignments): 88 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01872/0.5738, allocations: 6.695 MB / 0.7295 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009119/0.5829, allocations: 3.002 MB / 0.7324 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/0.583, allocations: 4.062 kB / 0.7325 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006484/0.5895, allocations: 1.965 MB / 0.7344 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.5909, allocations: 148.5 kB / 0.7345 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05334/0.6443, allocations: 21.79 MB / 0.7558 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007743/0.6451, allocations: 1.274 MB / 0.757 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007415/0.6459, allocations: 162.8 kB / 0.7572 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008925/0.6468, allocations: 0.6555 MB / 0.7578 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/0.6468, allocations: 4 kB / 0.7578 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3217/0.9685, allocations: 46.19 MB / 0.8029 GB, free: 115 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.59, allocations: 10.59 kB / 0.803 GB, free: 115 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1_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_IEEEX1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)