Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.0005946/0.0005945, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.196/1.196, allocations: 223.3 MB / 239.3 MB, free: 5.527 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.0008453/0.0008453, allocations: 180.5 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4185/0.4185, allocations: 78.56 MB / 420.3 MB, free: 4.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003427, allocations: 12 kB / 0.4888 GB, free: 5.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.117, allocations: 69.35 MB / 0.5565 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.204/0.321, allocations: 8.602 MB / 0.5649 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005308/0.3264, allocations: 2.873 MB / 0.5677 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.3278, allocations: 18.22 kB / 0.5677 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008057/0.3286, allocations: 262.9 kB / 0.568 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.3312, allocations: 1.1 MB / 0.569 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.3327, allocations: 0.7816 MB / 0.5698 GB, free: 32.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002202/0.3349, allocations: 2.446 MB / 0.5722 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000559/0.3355, allocations: 457.7 kB / 0.5726 GB, free: 32.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008103/0.3363, allocations: 0.8304 MB / 0.5734 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008449/0.3372, allocations: 1.088 MB / 0.5745 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.3373, allocations: 95.81 kB / 0.5746 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005967/0.3379, allocations: 359.3 kB / 0.5749 GB, free: 31.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.3382, allocations: 389.6 kB / 0.5753 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006688/0.3389, allocations: 0.8981 MB / 0.5762 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.3404, allocations: 2.429 MB / 0.5786 GB, free: 30.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3404, allocations: 0.75 kB / 0.5786 GB, free: 30.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3404, allocations: 4.625 kB / 0.5786 GB, free: 30.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.3404, allocations: 2.656 kB / 0.5786 GB, free: 30.73 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01227/0.3527, allocations: 3.798 MB / 0.5823 GB, free: 29.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3528, allocations: 7.594 kB / 0.5823 GB, free: 29.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004561/0.3532, allocations: 175.2 kB / 0.5824 GB, free: 29.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004301/0.3575, allocations: 0.7832 MB / 0.5832 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.3592, allocations: 1.22 MB / 0.5844 GB, free: 28.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/0.3596, allocations: 472.9 kB / 0.5849 GB, free: 28.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.3598, allocations: 130.8 kB / 0.585 GB, free: 28.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002682/0.3625, allocations: 1.633 MB / 0.5866 GB, free: 27.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.3625, allocations: 3.938 kB / 0.5866 GB, free: 27.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.3626, allocations: 41.03 kB / 0.5866 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.3627, allocations: 26.08 kB / 0.5866 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/0.3656, allocations: 1.534 MB / 0.5881 GB, free: 26.96 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.007514/0.3732, allocations: 5.55 MB / 0.5936 GB, free: 23.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008873/0.3821, allocations: 3.64 MB / 0.5971 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/0.3841, allocations: 1.054 MB / 0.5981 GB, free: 22.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003839/0.3845, allocations: 0.7338 MB / 0.5989 GB, free: 21.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002323/0.3868, allocations: 1.222 MB / 0.6001 GB, free: 20.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 2.866e-06/0.3868, allocations: 0 / 0.6001 GB, free: 20.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04295/0.4298, allocations: 12.27 MB / 0.612 GB, free: 18.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4299, allocations: 122.8 kB / 0.6122 GB, free: 18.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/0.4322, allocations: 1.537 MB / 0.6137 GB, free: 17.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003113/0.4326, allocations: 55.92 kB / 0.6137 GB, free: 17.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.4329, allocations: 0.6492 MB / 0.6143 GB, free: 16.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/0.4333, allocations: 499.9 kB / 0.6148 GB, free: 16.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.4336, allocations: 193.4 kB / 0.615 GB, free: 16.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.407e-05/0.4336, allocations: 306.3 kB / 0.6153 GB, free: 16.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.4358, allocations: 1.137 MB / 0.6164 GB, free: 15.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.438, allocations: 1.365 MB / 0.6177 GB, free: 14.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004112/0.4422, allocations: 2.4 MB / 0.6201 GB, free: 12.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.4422, allocations: 0 / 0.6201 GB, free: 12.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009325/0.4515, allocations: 4.436 MB / 0.6244 GB, free: 7.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.4516, allocations: 13.31 kB / 0.6244 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.4516, allocations: 4 kB / 0.6244 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008619/0.4602, allocations: 3.06 MB / 0.6274 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.4619, allocations: 383.4 kB / 0.6278 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005697/0.4676, allocations: 3.015 MB / 0.6307 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.47, allocations: 314.2 kB / 0.631 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.4701, allocations: 67.98 kB / 0.6311 GB, free: 0.7344 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: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * 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.0006018/0.4707, allocations: 322.3 kB / 0.6314 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.471, allocations: 185.7 kB / 0.6316 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/0.4879, allocations: 5.961 MB / 0.6374 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.4879, allocations: 19.88 kB / 0.6374 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.4879, allocations: 8 kB / 0.6374 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.668e-05/0.488, allocations: 3.984 kB / 0.6374 GB, free: 10.22 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.02041/0.5084, allocations: 8.211 MB / 0.6454 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.5084, allocations: 4.031 kB / 0.6455 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009972/0.5094, allocations: 172.7 kB / 0.6456 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007749/0.5172, allocations: 2.507 MB / 0.6481 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/0.5174, allocations: 39.98 kB / 0.6481 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02502/0.5424, allocations: 10.32 MB / 0.6582 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5425, allocations: 0 / 0.6582 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02045/0.5629, allocations: 7.302 MB / 0.6653 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000722/0.5637, allocations: 295 kB / 0.6656 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006487/0.5644, allocations: 32.88 kB / 0.6656 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/0.5665, allocations: 187.8 kB / 0.6658 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009679/0.5675, allocations: 269.3 kB / 0.6661 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/0.5677, allocations: 35.98 kB / 0.6661 GB, free: 12.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00178/0.5695, allocations: 1.032 MB / 0.6671 GB, free: 11.51 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5695, allocations: 0 / 0.6671 GB, free: 11.51 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00199/0.5715, allocations: 0.5699 MB / 0.6677 GB, free: 10.94 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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.0203/0.5918, allocations: 7.936 MB / 0.6754 GB, free: 2.961 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009568/0.6014, allocations: 3.383 MB / 0.6787 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.6014, allocations: 0 / 0.6787 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006734/0.6082, allocations: 2.252 MB / 0.6809 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.61, allocations: 150.9 kB / 0.6811 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05057/0.6605, allocations: 24.01 MB / 0.7045 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008183/0.6614, allocations: 1.278 MB / 0.7057 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007079/0.6621, allocations: 164.8 kB / 0.7059 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009152/0.663, allocations: 0.6711 MB / 0.7066 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/0.6631, allocations: 0 / 0.7066 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06196/0.725, allocations: 42.27 MB / 0.7478 GB, free: 7.977 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.7252, allocations: 210.2 kB / 0.748 GB, free: 7.723 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/3.403, allocations: 4 kB / 0.748 GB, free: 7.719 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)