Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_dev_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.001446/0.001445, allocations: 99.36 kB / 15.33 MB, free: 0.5039 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.403/1.403, allocations: 222.9 MB / 239 MB, free: 4.734 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.001708/0.001708, allocations: 192.5 kB / 289.3 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.541/0.541, allocations: 91.89 MB / 431.3 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 75.89 kB / 0.5015 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4668, allocations: 71.26 MB / 0.5711 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.008034/0.4748, allocations: 9.162 MB / 0.58 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005826/0.4807, allocations: 2.88 MB / 0.5829 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.4819, allocations: 17.91 kB / 0.5829 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009076/0.4829, allocations: 269.1 kB / 0.5831 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.485, allocations: 0.9002 MB / 0.584 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.4868, allocations: 0.8885 MB / 0.5849 GB, free: 27.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002134/0.4889, allocations: 2.417 MB / 0.5872 GB, free: 26.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000631/0.4896, allocations: 0.4968 MB / 0.5877 GB, free: 26.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.4908, allocations: 0.9687 MB / 0.5887 GB, free: 25.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.4919, allocations: 1.199 MB / 0.5898 GB, free: 25.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.4923, allocations: 209.3 kB / 0.59 GB, free: 25.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008982/0.4932, allocations: 490.6 kB / 0.5905 GB, free: 25.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.4935, allocations: 0.4919 MB / 0.591 GB, free: 24.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007372/0.4943, allocations: 0.9956 MB / 0.592 GB, free: 24.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.4967, allocations: 2.559 MB / 0.5945 GB, free: 22.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4967, allocations: 0 / 0.5945 GB, free: 22.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4967, allocations: 0 / 0.5945 GB, free: 22.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.687e-05/0.4967, allocations: 0 / 0.5945 GB, free: 22.91 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.01307/0.5098, allocations: 3.769 MB / 0.5981 GB, free: 21.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.5099, allocations: 8.625 kB / 0.5981 GB, free: 21.31 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002175/0.5101, allocations: 168.4 kB / 0.5983 GB, free: 21.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004742/0.5148, allocations: 0.7667 MB / 0.5991 GB, free: 21.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.5172, allocations: 1.226 MB / 0.6002 GB, free: 20.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004336/0.5176, allocations: 459.6 kB / 0.6007 GB, free: 19.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.5178, allocations: 125.7 kB / 0.6008 GB, free: 19.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003225/0.5211, allocations: 1.549 MB / 0.6023 GB, free: 19.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.5211, allocations: 0 / 0.6023 GB, free: 19.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.5213, allocations: 54.95 kB / 0.6024 GB, free: 19.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.5213, allocations: 26.56 kB / 0.6024 GB, free: 19.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00329/0.5246, allocations: 1.438 MB / 0.6038 GB, free: 18.61 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.01031/0.5349, allocations: 5.455 MB / 0.6091 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008783/0.5437, allocations: 3.069 MB / 0.6121 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/0.5459, allocations: 0.9674 MB / 0.6131 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004988/0.5464, allocations: 0.7308 MB / 0.6138 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002522/0.5489, allocations: 1.137 MB / 0.6149 GB, free: 12.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 3.637e-06/0.5489, allocations: 1.156 kB / 0.6149 GB, free: 12.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04267/0.5916, allocations: 10.03 MB / 0.6247 GB, free: 7.121 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.5917, allocations: 116.1 kB / 0.6248 GB, free: 6.984 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.5939, allocations: 1.547 MB / 0.6263 GB, free: 5.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003719/0.5943, allocations: 53.7 kB / 0.6264 GB, free: 5.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.5947, allocations: 0.6477 MB / 0.627 GB, free: 4.719 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004361/0.5952, allocations: 0.4892 MB / 0.6275 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006055/0.5958, allocations: 375.4 kB / 0.6278 GB, free: 3.848 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.5958, allocations: 305.1 kB / 0.6281 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.5978, allocations: 1.054 MB / 0.6292 GB, free: 2.488 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/0.5999, allocations: 1.274 MB / 0.6304 GB, free: 1.152 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004303/0.6042, allocations: 2.232 MB / 0.6326 GB, free: 14.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.6042, allocations: 0 / 0.6326 GB, free: 14.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.0107/0.6149, allocations: 3.999 MB / 0.6365 GB, free: 10.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.615, allocations: 8 kB / 0.6365 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/0.615, allocations: 4 kB / 0.6365 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009913/0.6249, allocations: 2.69 MB / 0.6391 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/0.6271, allocations: 363.5 kB / 0.6395 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006812/0.6339, allocations: 2.699 MB / 0.6421 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/0.6373, allocations: 274.2 kB / 0.6424 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.6376, allocations: 71.98 kB / 0.6424 GB, free: 4.723 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: 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.0008839/0.6384, allocations: 321.5 kB / 0.6427 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004406/0.6389, allocations: 173.8 kB / 0.6429 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/0.6555, allocations: 4.915 MB / 0.6477 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/0.6556, allocations: 19.94 kB / 0.6477 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.6556, allocations: 0 / 0.6477 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-05/0.6557, allocations: 7.969 kB / 0.6477 GB, free: 15.26 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.02043/0.6761, allocations: 7.164 MB / 0.6547 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.6762, allocations: 0 / 0.6547 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.6774, allocations: 167.8 kB / 0.6549 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007779/0.6852, allocations: 2.142 MB / 0.657 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004178/0.6857, allocations: 35.88 kB / 0.657 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02818/0.7139, allocations: 10.07 MB / 0.6668 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.7139, allocations: 0 / 0.6668 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02047/0.7344, allocations: 6.158 MB / 0.6729 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009771/0.7354, allocations: 294.5 kB / 0.6731 GB, free: 4.895 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007789/0.7362, allocations: 24 kB / 0.6732 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/0.7385, allocations: 147.8 kB / 0.6733 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001115/0.7396, allocations: 273.4 kB / 0.6736 GB, free: 4.457 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/0.7399, allocations: 39.98 kB / 0.6736 GB, free: 4.418 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002126/0.742, allocations: 1.032 MB / 0.6746 GB, free: 3.391 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7421, allocations: 0 / 0.6746 GB, free: 3.391 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002258/0.7443, allocations: 0.5659 MB / 0.6752 GB, free: 2.824 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.01997/0.7643, allocations: 6.789 MB / 0.6818 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01084/0.7752, allocations: 3.104 MB / 0.6848 GB, free: 8.879 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.7752, allocations: 0 / 0.6848 GB, free: 8.879 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006904/0.7822, allocations: 2.004 MB / 0.6868 GB, free: 6.867 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.7846, allocations: 160.5 kB / 0.6869 GB, free: 6.715 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05846/0.8431, allocations: 22.3 MB / 0.7087 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.8444, allocations: 1.278 MB / 0.71 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001104/0.8456, allocations: 162.8 kB / 0.7101 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/0.8469, allocations: 0.6711 MB / 0.7108 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of SimCode: time 1.022e-06/0.8469, allocations: 3.938 kB / 0.7108 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08573/0.9326, allocations: 44.81 MB / 0.7545 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.9329, allocations: 210.8 kB / 0.7547 GB, free: 252 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.333/4.266, allocations: 0 / 0.7547 GB, free: 252 kB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)