Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_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.001209/0.001209, allocations: 108 kB / 15.61 MB, free: 148 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.396/1.396, allocations: 222.9 MB / 239.3 MB, free: 4.602 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.001482/0.001482, allocations: 191.6 kB / 289.6 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.54/0.54, allocations: 91.91 MB / 431.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003079/0.003079, allocations: 83.81 kB / 0.502 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3934, allocations: 71.26 MB / 0.5716 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.007785/0.4013, allocations: 8.76 MB / 0.5801 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005653/0.407, allocations: 2.848 MB / 0.5829 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.4087, allocations: 18.31 kB / 0.5829 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.4098, allocations: 341 kB / 0.5833 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00288/0.4127, allocations: 1.036 MB / 0.5843 GB, free: 28.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.4149, allocations: 0.9477 MB / 0.5852 GB, free: 27.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003201/0.4181, allocations: 2.393 MB / 0.5875 GB, free: 26.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007844/0.4189, allocations: 491.5 kB / 0.588 GB, free: 26.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.4205, allocations: 0.951 MB / 0.5889 GB, free: 26.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/0.4222, allocations: 1.201 MB / 0.5901 GB, free: 25.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004073/0.4226, allocations: 201.9 kB / 0.5903 GB, free: 25.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.4237, allocations: 478.7 kB / 0.5908 GB, free: 25.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003573/0.4241, allocations: 0.4995 MB / 0.5912 GB, free: 25.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008499/0.4249, allocations: 0.9777 MB / 0.5922 GB, free: 24.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.4277, allocations: 2.53 MB / 0.5947 GB, free: 23.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4278, allocations: 0 / 0.5947 GB, free: 23.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4278, allocations: 0 / 0.5947 GB, free: 23.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.59e-05/0.4278, allocations: 1.219 kB / 0.5947 GB, free: 23.24 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.01439/0.4422, allocations: 3.757 MB / 0.5983 GB, free: 21.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.4423, allocations: 9.312 kB / 0.5983 GB, free: 21.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002436/0.4426, allocations: 166 kB / 0.5985 GB, free: 21.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005031/0.4476, allocations: 0.7714 MB / 0.5993 GB, free: 21.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.4501, allocations: 1.207 MB / 0.6004 GB, free: 20.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004239/0.4505, allocations: 463.7 kB / 0.6009 GB, free: 20.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.4508, allocations: 124.8 kB / 0.601 GB, free: 20.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/0.4542, allocations: 1.522 MB / 0.6025 GB, free: 19.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.4542, allocations: 0.7969 kB / 0.6025 GB, free: 19.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.4543, allocations: 41.66 kB / 0.6025 GB, free: 19.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.4544, allocations: 25.19 kB / 0.6025 GB, free: 19.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003316/0.4577, allocations: 1.427 MB / 0.6039 GB, free: 18.98 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.01113/0.4688, allocations: 5.414 MB / 0.6092 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009234/0.4781, allocations: 3.071 MB / 0.6122 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002576/0.4807, allocations: 0.9681 MB / 0.6132 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004709/0.4812, allocations: 0.7289 MB / 0.6139 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002588/0.4838, allocations: 1.117 MB / 0.615 GB, free: 12.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 4.599e-06/0.4838, allocations: 7.938 kB / 0.615 GB, free: 12.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04161/0.5255, allocations: 9.763 MB / 0.6245 GB, free: 7.676 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.5256, allocations: 124.1 kB / 0.6246 GB, free: 7.531 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.5287, allocations: 1.536 MB / 0.6261 GB, free: 5.988 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000538/0.5292, allocations: 53.7 kB / 0.6262 GB, free: 5.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/0.5298, allocations: 0.6476 MB / 0.6268 GB, free: 5.277 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007858/0.5306, allocations: 485.1 kB / 0.6273 GB, free: 4.797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001428/0.532, allocations: 375.5 kB / 0.6276 GB, free: 4.422 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.308e-05/0.5321, allocations: 301.1 kB / 0.6279 GB, free: 4.125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/0.5345, allocations: 1.046 MB / 0.6289 GB, free: 3.074 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/0.5371, allocations: 1.27 MB / 0.6302 GB, free: 1.742 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004918/0.5421, allocations: 2.239 MB / 0.6324 GB, free: 15.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.5421, allocations: 0 / 0.6324 GB, free: 15.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01123/0.5533, allocations: 3.824 MB / 0.6361 GB, free: 11.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.5534, allocations: 11.94 kB / 0.6361 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/0.5535, allocations: 4 kB / 0.6361 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01/0.5635, allocations: 2.694 MB / 0.6388 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/0.5655, allocations: 359.5 kB / 0.6391 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00761/0.5731, allocations: 2.691 MB / 0.6417 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/0.5766, allocations: 282 kB / 0.642 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005221/0.5772, allocations: 67.98 kB / 0.6421 GB, free: 5.473 MB / 446.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.001474/0.5786, allocations: 329.5 kB / 0.6424 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009743/0.5796, allocations: 177.8 kB / 0.6425 GB, free: 4.965 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/0.5977, allocations: 4.95 MB / 0.6474 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/0.5977, allocations: 12 kB / 0.6474 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.5978, allocations: 4 kB / 0.6474 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-05/0.5978, allocations: 3.984 kB / 0.6474 GB, free: 15.97 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 postOpt removeSimpleEquations (simulation): time 0.02251/0.6203, allocations: 7.125 MB / 0.6544 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/0.6204, allocations: 3.938 kB / 0.6544 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.6216, allocations: 167.8 kB / 0.6545 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008113/0.6297, allocations: 2.146 MB / 0.6566 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004638/0.6303, allocations: 28 kB / 0.6566 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02763/0.6579, allocations: 10.07 MB / 0.6665 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.658, allocations: 4 kB / 0.6665 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02119/0.6791, allocations: 6.13 MB / 0.6725 GB, free: 5.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008059/0.68, allocations: 286.5 kB / 0.6727 GB, free: 5.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007484/0.6808, allocations: 24 kB / 0.6728 GB, free: 5.656 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002315/0.6831, allocations: 151.8 kB / 0.6729 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/0.6842, allocations: 273.3 kB / 0.6732 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002787/0.6845, allocations: 43.98 kB / 0.6732 GB, free: 5.199 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002262/0.6868, allocations: 1.032 MB / 0.6742 GB, free: 4.172 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6868, allocations: 0 / 0.6742 GB, free: 4.172 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002606/0.6894, allocations: 0.5659 MB / 0.6748 GB, free: 3.605 MB / 478.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,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.02157/0.711, allocations: 6.742 MB / 0.6814 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01178/0.7228, allocations: 3.084 MB / 0.6844 GB, free: 9.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.7229, allocations: 0 / 0.6844 GB, free: 9.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007552/0.7305, allocations: 2.005 MB / 0.6863 GB, free: 7.715 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.733, allocations: 153.7 kB / 0.6865 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06744/0.8005, allocations: 23.44 MB / 0.7094 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.8017, allocations: 1.274 MB / 0.7106 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00108/0.8028, allocations: 158.8 kB / 0.7108 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.8042, allocations: 0.6594 MB / 0.7114 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of SimCode: time 1.583e-06/0.8042, allocations: 4 kB / 0.7114 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09612/0.9003, allocations: 46.16 MB / 0.7565 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.96, allocations: 14 kB / 0.7565 GB, free: 14.82 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)