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.0008705/0.0008706, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.407/1.407, allocations: 223.3 MB / 239 MB, free: 5.434 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.001151/0.001151, allocations: 184.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4845/0.4845, allocations: 79.49 MB / 420.9 MB, free: 3.914 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004015, allocations: 12 kB / 0.4892 GB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4397, allocations: 69.51 MB / 0.5571 GB, free: 37.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.007567/0.4474, allocations: 8.003 MB / 0.5649 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005938/0.4534, allocations: 2.73 MB / 0.5676 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009456/0.4543, allocations: 18.72 kB / 0.5676 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007723/0.4551, allocations: 242.6 kB / 0.5678 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.4569, allocations: 0.8354 MB / 0.5687 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.4586, allocations: 0.7577 MB / 0.5694 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.4603, allocations: 2.132 MB / 0.5715 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005151/0.4609, allocations: 382.4 kB / 0.5718 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006938/0.4616, allocations: 0.7972 MB / 0.5726 GB, free: 33.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009417/0.4625, allocations: 1.04 MB / 0.5736 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.4627, allocations: 94.62 kB / 0.5737 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005898/0.4633, allocations: 344.9 kB / 0.5741 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000294/0.4636, allocations: 375.2 kB / 0.5744 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002475/0.4639, allocations: 314.3 kB / 0.5747 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.4652, allocations: 1.896 MB / 0.5766 GB, free: 32.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4653, allocations: 4 kB / 0.5766 GB, free: 32.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4653, allocations: 3.219 kB / 0.5766 GB, free: 32.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.4653, allocations: 3.062 kB / 0.5766 GB, free: 32.16 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.009929/0.4752, allocations: 3.528 MB / 0.58 GB, free: 30.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4753, allocations: 11.28 kB / 0.58 GB, free: 30.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002507/0.4755, allocations: 162.7 kB / 0.5802 GB, free: 30.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004016/0.4796, allocations: 0.7709 MB / 0.5809 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.4814, allocations: 1.164 MB / 0.5821 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/0.4817, allocations: 472.2 kB / 0.5825 GB, free: 29.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.4819, allocations: 130.2 kB / 0.5826 GB, free: 29.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/0.4847, allocations: 1.599 MB / 0.5842 GB, free: 28.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.4847, allocations: 0 / 0.5842 GB, free: 28.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.4848, allocations: 39.25 kB / 0.5842 GB, free: 28.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.4849, allocations: 26.94 kB / 0.5843 GB, free: 28.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002874/0.4877, allocations: 1.508 MB / 0.5857 GB, free: 28.19 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.008428/0.4962, allocations: 5.494 MB / 0.5911 GB, free: 25.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008952/0.5052, allocations: 3.649 MB / 0.5947 GB, free: 23.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002129/0.5073, allocations: 1.048 MB / 0.5957 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005516/0.5079, allocations: 0.735 MB / 0.5964 GB, free: 22.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002788/0.5107, allocations: 1.196 MB / 0.5976 GB, free: 22.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 7.283e-06/0.5107, allocations: 7.438 kB / 0.5976 GB, free: 22.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04345/0.5542, allocations: 11.8 MB / 0.6091 GB, free: 20.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/0.5543, allocations: 116.7 kB / 0.6092 GB, free: 20.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/0.5584, allocations: 1.527 MB / 0.6107 GB, free: 19.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005378/0.559, allocations: 56.02 kB / 0.6108 GB, free: 19.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000817/0.5598, allocations: 0.649 MB / 0.6114 GB, free: 18.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009145/0.5608, allocations: 490.6 kB / 0.6119 GB, free: 18.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004814/0.5613, allocations: 40.47 kB / 0.6119 GB, free: 18.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.5615, allocations: 383 kB / 0.6123 GB, free: 17.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/0.5644, allocations: 1.124 MB / 0.6134 GB, free: 17.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003052/0.5675, allocations: 1.357 MB / 0.6147 GB, free: 16.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003016/0.5705, allocations: 1.203 MB / 0.6159 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.5705, allocations: 1.469 kB / 0.6159 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.009819/0.5804, allocations: 4.249 MB / 0.62 GB, free: 11.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.5804, allocations: 4 kB / 0.62 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/0.5805, allocations: 8 kB / 0.62 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008544/0.589, allocations: 3.059 MB / 0.623 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.5909, allocations: 359.5 kB / 0.6234 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005948/0.5969, allocations: 3.018 MB / 0.6263 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/0.5997, allocations: 314.2 kB / 0.6266 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004236/0.6002, allocations: 69.97 kB / 0.6267 GB, free: 4.996 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 ($whenCondition1,$whenCondition2,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.001156/0.6014, allocations: 334.3 kB / 0.627 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007073/0.6021, allocations: 173.8 kB / 0.6272 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01547/0.6176, allocations: 6.002 MB / 0.633 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.6176, allocations: 12 kB / 0.633 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.6176, allocations: 0 / 0.633 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.679e-05/0.6177, allocations: 9.484 kB / 0.633 GB, free: 14.45 MB / 446.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.01999/0.6377, allocations: 8.165 MB / 0.641 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.348e-05/0.6377, allocations: 0 / 0.641 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.6388, allocations: 175.7 kB / 0.6412 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007337/0.6462, allocations: 2.519 MB / 0.6436 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003091/0.6465, allocations: 24 kB / 0.6437 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02457/0.6711, allocations: 10.31 MB / 0.6537 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6712, allocations: 1.188 kB / 0.6537 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01938/0.6905, allocations: 7.256 MB / 0.6608 GB, free: 1.691 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008596/0.6915, allocations: 287.2 kB / 0.6611 GB, free: 1.391 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006081/0.6921, allocations: 28 kB / 0.6611 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001993/0.6941, allocations: 191.8 kB / 0.6613 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009487/0.6951, allocations: 281.2 kB / 0.6616 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/0.6953, allocations: 35.98 kB / 0.6616 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002101/0.6974, allocations: 1.021 MB / 0.6626 GB, free: 15.85 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6974, allocations: 0 / 0.6626 GB, free: 15.85 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002402/0.6998, allocations: 0.5712 MB / 0.6632 GB, free: 15.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01912/0.7189, allocations: 7.868 MB / 0.6708 GB, free: 7.371 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009566/0.7285, allocations: 3.362 MB / 0.6741 GB, free: 4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.7286, allocations: 0 / 0.6741 GB, free: 4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006247/0.7348, allocations: 2.243 MB / 0.6763 GB, free: 1.746 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.7372, allocations: 159.7 kB / 0.6765 GB, free: 1.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03368/0.7709, allocations: 15.12 MB / 0.6912 GB, free: 1.758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/0.7724, allocations: 1.274 MB / 0.6925 GB, free: 460 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001034/0.7735, allocations: 156.8 kB / 0.6926 GB, free: 300 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.7747, allocations: 0.6594 MB / 0.6933 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/0.7747, allocations: 0 / 0.6933 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07167/0.8464, allocations: 42.28 MB / 0.7346 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.8466, allocations: 196.4 kB / 0.7348 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.15/3.996, allocations: 4 kB / 0.7348 GB, free: 5.43 MB / 0.5294 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1) Environment - environmentSimulation: