Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ESDC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.005358/0.005358, allocations: 100.7 kB / 15.73 MB, free: 6.027 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.429/1.429, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001525/0.001525, allocations: 192.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.461/0.461, allocations: 78.54 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 80.36 kB / 0.5532 GB, free: 1.438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2663, allocations: 68.16 MB / 0.6197 GB, free: 9.488 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.006714/0.2731, allocations: 8.748 MB / 0.6283 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00517/0.2783, allocations: 2.852 MB / 0.6311 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009909/0.2793, allocations: 16 kB / 0.6311 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000918/0.2802, allocations: 341.1 kB / 0.6314 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.2836, allocations: 1.228 MB / 0.6326 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.2856, allocations: 0.864 MB / 0.6334 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003177/0.2888, allocations: 2.564 MB / 0.6359 GB, free: 9.637 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007308/0.2896, allocations: 494.1 kB / 0.6364 GB, free: 9.117 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.2908, allocations: 0.965 MB / 0.6374 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.2923, allocations: 1.217 MB / 0.6385 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003186/0.2927, allocations: 200 kB / 0.6387 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008759/0.2936, allocations: 475.7 kB / 0.6392 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004926/0.2941, allocations: 0.5059 MB / 0.6397 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.2952, allocations: 0.9906 MB / 0.6407 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.2983, allocations: 2.58 MB / 0.6432 GB, free: 2.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.2983, allocations: 4 kB / 0.6432 GB, free: 2.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2983, allocations: 0 / 0.6432 GB, free: 2.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.152e-05/0.2983, allocations: 0 / 0.6432 GB, free: 2.168 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.01566/0.314, allocations: 4.107 MB / 0.6472 GB, free: 14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3141, allocations: 8.031 kB / 0.6472 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002401/0.3143, allocations: 168.5 kB / 0.6474 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0049/0.3192, allocations: 0.7793 MB / 0.6481 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/0.3216, allocations: 1.225 MB / 0.6493 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000547/0.3221, allocations: 466.5 kB / 0.6498 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.3224, allocations: 120 kB / 0.6499 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003456/0.3259, allocations: 1.527 MB / 0.6514 GB, free: 9.535 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.3259, allocations: 3.984 kB / 0.6514 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.326, allocations: 40 kB / 0.6514 GB, free: 9.492 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.3261, allocations: 31.94 kB / 0.6514 GB, free: 9.461 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003458/0.3295, allocations: 1.417 MB / 0.6528 GB, free: 8.035 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.01007/0.3396, allocations: 5.395 MB / 0.6581 GB, free: 2.406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009664/0.3493, allocations: 3.064 MB / 0.6611 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.3516, allocations: 0.9668 MB / 0.662 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006776/0.3523, allocations: 0.7258 MB / 0.6627 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002562/0.3549, allocations: 1.118 MB / 0.6638 GB, free: 12.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=133): time 3.367e-06/0.3549, allocations: 0 / 0.6638 GB, free: 12.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=133): time 0.0443/0.3992, allocations: 9.776 MB / 0.6734 GB, free: 2.379 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.3993, allocations: 120.1 kB / 0.6735 GB, free: 2.238 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/0.4019, allocations: 1.548 MB / 0.675 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003157/0.4023, allocations: 53.7 kB / 0.6751 GB, free: 0.625 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005971/0.4029, allocations: 0.6565 MB / 0.6757 GB, free: 15.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006207/0.4035, allocations: 0.4957 MB / 0.6762 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007402/0.4043, allocations: 379.6 kB / 0.6765 GB, free: 15.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4044, allocations: 301.1 kB / 0.6768 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002615/0.407, allocations: 1.05 MB / 0.6779 GB, free: 13.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/0.4098, allocations: 1.274 MB / 0.6791 GB, free: 12.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005188/0.415, allocations: 2.22 MB / 0.6813 GB, free: 10.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.4151, allocations: 4 kB / 0.6813 GB, free: 10.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01068/0.4258, allocations: 3.852 MB / 0.685 GB, free: 6.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.4258, allocations: 11.94 kB / 0.685 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.4258, allocations: 4 kB / 0.685 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.4363, allocations: 2.667 MB / 0.6876 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.4381, allocations: 367.5 kB / 0.688 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00696/0.445, allocations: 2.692 MB / 0.6906 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/0.4474, allocations: 278.6 kB / 0.6909 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.4476, allocations: 71.98 kB / 0.691 GB, free: 140 kB / 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,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 202 * 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.0006789/0.4483, allocations: 321.5 kB / 0.6913 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.4486, allocations: 186.8 kB / 0.6914 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0183/0.4669, allocations: 4.95 MB / 0.6963 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/0.467, allocations: 12 kB / 0.6963 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.467, allocations: 8 kB / 0.6963 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-05/0.4671, allocations: 7.969 kB / 0.6963 GB, free: 10.63 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.02202/0.4891, allocations: 7.12 MB / 0.7033 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.4892, allocations: 0 / 0.7033 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.4903, allocations: 167.8 kB / 0.7034 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008367/0.4987, allocations: 2.138 MB / 0.7055 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002147/0.4989, allocations: 35.97 kB / 0.7055 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02859/0.5275, allocations: 10.07 MB / 0.7154 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.5275, allocations: 3.938 kB / 0.7154 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02113/0.5487, allocations: 6.137 MB / 0.7214 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006439/0.5493, allocations: 295.5 kB / 0.7217 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/0.5497, allocations: 31.94 kB / 0.7217 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/0.5514, allocations: 147.8 kB / 0.7218 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009061/0.5523, allocations: 273.3 kB / 0.7221 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.5524, allocations: 35.98 kB / 0.7221 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001759/0.5542, allocations: 1.032 MB / 0.7231 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5542, allocations: 0 / 0.7231 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001522/0.5557, allocations: 0.5697 MB / 0.7237 GB, free: 14.27 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.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 (90): * Single equations (assignments): 89 * 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.02155/0.5773, allocations: 6.758 MB / 0.7303 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01009/0.5874, allocations: 3.041 MB / 0.7333 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.5874, allocations: 0 / 0.7333 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007092/0.5945, allocations: 2 MB / 0.7352 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.5958, allocations: 159.5 kB / 0.7354 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05888/0.6547, allocations: 21.97 MB / 0.7568 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/0.6557, allocations: 1.274 MB / 0.7581 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007619/0.6565, allocations: 158.8 kB / 0.7582 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.6575, allocations: 0.6594 MB / 0.7589 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of SimCode: time 9.41e-07/0.6575, allocations: 0 / 0.7589 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3025/0.96, allocations: 46.7 MB / 0.8045 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/15.91, allocations: 10.88 kB / 0.8045 GB, free: 114.1 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A_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_ESDC1A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)