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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 171.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 221.5 MB / 229.6 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009358/0.0009356, allocations: 94.75 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4949/0.4949, allocations: 78.94 MB / 410.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/3e-05, allocations: 8 kB / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1765, allocations: 69.52 MB / 0.5425 GB, free: 5.805 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5306/0.7073, allocations: 113.5 MB / 0.6534 GB, free: 448 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.7075, allocations: 89.5 kB / 0.6535 GB, free: 360 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1278/0.8353, allocations: 44.94 MB / 0.6973 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8354, allocations: 0 / 0.6973 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001851/0.8356, allocations: 35.94 kB / 0.6974 GB, free: 3.387 MB / 0.4948 GB 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.007249/0.8428, allocations: 2.205 MB / 0.6995 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.8429, allocations: 16.03 kB / 0.6995 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004636/0.8475, allocations: 0.739 MB / 0.7003 GB, free: 384 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/0.8505, allocations: 1.158 MB / 0.7014 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005246/0.8511, allocations: 422.5 kB / 0.7018 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004674/0.8516, allocations: 64 kB / 0.7019 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002358/0.8539, allocations: 1.133 MB / 0.703 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.856, allocations: 1.149 MB / 0.7041 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.856, allocations: 4 kB / 0.7041 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.8562, allocations: 0 / 0.7041 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.8562, allocations: 24 kB / 0.7041 GB, free: 12.26 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01133/0.8675, allocations: 5.356 MB / 0.7093 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007909/0.8755, allocations: 3.206 MB / 0.7125 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.8768, allocations: 0.7303 MB / 0.7132 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006456/0.8775, allocations: 0.7414 MB / 0.7139 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001457/0.8789, allocations: 0.8734 MB / 0.7148 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=133): time 2.655e-06/0.879, allocations: 0 / 0.7148 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of matching and sorting (n=133): time 0.01533/0.8943, allocations: 4.907 MB / 0.7196 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.8944, allocations: 124.1 kB / 0.7197 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.8965, allocations: 1.205 MB / 0.7209 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003968/0.897, allocations: 29.77 kB / 0.7209 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005227/0.8975, allocations: 0.683 MB / 0.7216 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006361/0.8981, allocations: 461.1 kB / 0.722 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.8982, allocations: 0.9375 kB / 0.722 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8984, allocations: 361.9 kB / 0.7223 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.8994, allocations: 0.6055 MB / 0.7229 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.9005, allocations: 0.7888 MB / 0.7237 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.9019, allocations: 0.7002 MB / 0.7244 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.9019, allocations: 0 / 0.7244 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003999/0.9059, allocations: 2.107 MB / 0.7264 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.906, allocations: 13.19 kB / 0.7265 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.906, allocations: 4.5 kB / 0.7265 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007645/0.9137, allocations: 2.281 MB / 0.7287 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.9149, allocations: 244.9 kB / 0.7289 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004902/0.9199, allocations: 2.419 MB / 0.7313 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/0.9229, allocations: 238.7 kB / 0.7315 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002624/0.9232, allocations: 55.98 kB / 0.7316 GB, free: 15.45 MB / 0.5417 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 125 * 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.000413/0.9236, allocations: 130.7 kB / 0.7317 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01612/0.9398, allocations: 4.915 MB / 0.7365 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000949/0.9408, allocations: 169.8 kB / 0.7366 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01553/0.9563, allocations: 5.105 MB / 0.7416 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.9564, allocations: 12 kB / 0.7416 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.9564, allocations: 4 kB / 0.7416 GB, free: 5.082 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-05/0.9565, allocations: 3.984 kB / 0.7417 GB, free: 5.078 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.0192/0.9757, allocations: 7.157 MB / 0.7486 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/0.9758, allocations: 4.828 kB / 0.7486 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.977, allocations: 163.8 kB / 0.7488 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006597/0.9836, allocations: 1.998 MB / 0.7508 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003986/0.984, allocations: 15.98 kB / 0.7508 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/1.002, allocations: 7.704 MB / 0.7583 GB, free: 3.793 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.002, allocations: 11.95 kB / 0.7583 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3891/1.391, allocations: 6.064 MB / 0.7642 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008875/1.392, allocations: 296.4 kB / 0.7645 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004584/1.393, allocations: 6.359 kB / 0.7645 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/1.395, allocations: 177.8 kB / 0.7647 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007962/1.395, allocations: 268.6 kB / 0.7649 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/1.395, allocations: 38.55 kB / 0.765 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001383/1.397, allocations: 0.9093 MB / 0.7659 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.81e-07/1.397, allocations: 0 / 0.7659 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001894/1.399, allocations: 0.496 MB / 0.7663 GB, free: 133.3 MB / 0.5573 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 () * 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.01647/1.415, allocations: 6.832 MB / 0.773 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006656/1.422, allocations: 2.377 MB / 0.7753 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.422, allocations: 0 / 0.7753 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005776/1.428, allocations: 1.868 MB / 0.7772 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/1.429, allocations: 114.5 kB / 0.7773 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006636/1.436, allocations: 2.845 MB / 0.7801 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008751/1.437, allocations: 1.312 MB / 0.7813 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007583/1.438, allocations: 136.4 kB / 0.7815 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008817/1.439, allocations: 0.6488 MB / 0.7821 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/1.439, allocations: 0 / 0.7821 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08846/1.527, allocations: 37.69 MB / 0.8189 GB, free: 129 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/1.527, allocations: 123.7 kB / 0.819 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.181/4.708, allocations: 3.656 kB / 0.819 GB, free: 128.8 MB / 0.5573 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)