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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007847/0.0007849, allocations: 84.64 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4248/0.4248, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.282e-05/2.283e-05, allocations: 0 / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2869, allocations: 69.5 MB / 0.5492 GB, free: 19.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.416, allocations: 114.5 MB / 0.661 GB, free: 1.109 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.4163, allocations: 91.94 kB / 0.6611 GB, free: 1.02 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3945/0.8109, allocations: 46.32 MB / 0.7063 GB, free: 103.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.8109, allocations: 0 / 0.7063 GB, free: 103.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.481e-05/0.811, allocations: 42.98 kB / 0.7064 GB, free: 103.9 MB / 490.7 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.005584/0.8166, allocations: 2.205 MB / 0.7085 GB, free: 101.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.8167, allocations: 11.97 kB / 0.7085 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002441/0.8169, allocations: 164.7 kB / 0.7087 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003844/0.8208, allocations: 0.7497 MB / 0.7094 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.8229, allocations: 1.167 MB / 0.7106 GB, free: 99.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003796/0.8233, allocations: 470.5 kB / 0.711 GB, free: 98.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.8235, allocations: 111.9 kB / 0.7111 GB, free: 98.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.8255, allocations: 1.333 MB / 0.7124 GB, free: 97.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.8256, allocations: 0 / 0.7124 GB, free: 97.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.8257, allocations: 40 kB / 0.7124 GB, free: 97.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.8257, allocations: 32 kB / 0.7125 GB, free: 97.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.8275, allocations: 1.203 MB / 0.7137 GB, free: 96.2 MB / 490.7 MB 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.009015/0.8365, allocations: 5.583 MB / 0.7191 GB, free: 90.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007145/0.8437, allocations: 3.266 MB / 0.7223 GB, free: 87.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.8448, allocations: 0.7725 MB / 0.7231 GB, free: 86.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004244/0.8452, allocations: 0.7294 MB / 0.7238 GB, free: 85.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.8464, allocations: 0.9267 MB / 0.7247 GB, free: 84.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=134): time 3.025e-06/0.8464, allocations: 0 / 0.7247 GB, free: 84.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=134): time 0.01395/0.8604, allocations: 5.042 MB / 0.7296 GB, free: 79.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.8604, allocations: 120.1 kB / 0.7297 GB, free: 79.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.8621, allocations: 1.324 MB / 0.731 GB, free: 77.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001938/0.8623, allocations: 49.7 kB / 0.731 GB, free: 77.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.8627, allocations: 0.6892 MB / 0.7317 GB, free: 77.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.863, allocations: 481.1 kB / 0.7322 GB, free: 76.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/0.8631, allocations: 36.06 kB / 0.7322 GB, free: 76.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.8632, allocations: 365.8 kB / 0.7326 GB, free: 76.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000942/0.8641, allocations: 0.6406 MB / 0.7332 GB, free: 75.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.8651, allocations: 0.8325 MB / 0.734 GB, free: 74.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009973/0.8661, allocations: 0.7165 MB / 0.7347 GB, free: 74.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.8662, allocations: 0 / 0.7347 GB, free: 74.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003368/0.8695, allocations: 2.271 MB / 0.7369 GB, free: 71.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.8696, allocations: 8 kB / 0.7369 GB, free: 71.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.8696, allocations: 4.5 kB / 0.7369 GB, free: 71.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007324/0.8769, allocations: 2.553 MB / 0.7394 GB, free: 69.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009251/0.8779, allocations: 235.7 kB / 0.7396 GB, free: 68.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/0.8815, allocations: 2.265 MB / 0.7419 GB, free: 66.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.8833, allocations: 274.5 kB / 0.7421 GB, free: 66.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.8834, allocations: 55.98 kB / 0.7422 GB, free: 66.33 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * 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.0002487/0.8836, allocations: 172.7 kB / 0.7423 GB, free: 66.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.8839, allocations: 177.8 kB / 0.7425 GB, free: 65.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/0.8976, allocations: 5.215 MB / 0.7476 GB, free: 60.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.8976, allocations: 19.98 kB / 0.7476 GB, free: 60.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.8977, allocations: 0 / 0.7476 GB, free: 60.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.653e-05/0.8977, allocations: 7.922 kB / 0.7476 GB, free: 60.72 MB / 490.7 MB 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.01731/0.915, allocations: 7.461 MB / 0.7549 GB, free: 53.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.9151, allocations: 4 kB / 0.7549 GB, free: 53.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.9162, allocations: 163.8 kB / 0.7551 GB, free: 53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006018/0.9223, allocations: 2.013 MB / 0.757 GB, free: 50.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003038/0.9226, allocations: 35.94 kB / 0.7571 GB, free: 50.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/0.9384, allocations: 7.852 MB / 0.7647 GB, free: 42.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9384, allocations: 0 / 0.7647 GB, free: 42.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01561/0.954, allocations: 6.246 MB / 0.7708 GB, free: 36.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006189/0.9547, allocations: 302.5 kB / 0.7711 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.9549, allocations: 32 kB / 0.7712 GB, free: 36.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.9566, allocations: 183.8 kB / 0.7713 GB, free: 36.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000743/0.9573, allocations: 277.2 kB / 0.7716 GB, free: 35.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.9575, allocations: 43.94 kB / 0.7716 GB, free: 35.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001178/0.9586, allocations: 1.02 MB / 0.7726 GB, free: 34.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9587, allocations: 0 / 0.7726 GB, free: 34.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001118/0.9598, allocations: 0.5501 MB / 0.7732 GB, free: 34.27 MB / 490.7 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 () * 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 (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.01567/0.9755, allocations: 7.023 MB / 0.78 GB, free: 27.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006481/0.982, allocations: 2.484 MB / 0.7825 GB, free: 24.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.982, allocations: 0 / 0.7825 GB, free: 24.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005096/0.9871, allocations: 1.94 MB / 0.7844 GB, free: 22.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.9884, allocations: 139.7 kB / 0.7845 GB, free: 22.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/0.9935, allocations: 2.963 MB / 0.7874 GB, free: 19.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.994, allocations: 1.32 MB / 0.7887 GB, free: 18.24 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005684/0.9946, allocations: 141.5 kB / 0.7888 GB, free: 18.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000705/0.9953, allocations: 0.6594 MB / 0.7895 GB, free: 17.44 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.9953, allocations: 0 / 0.7895 GB, free: 17.44 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05796/1.053, allocations: 40.78 MB / 0.8293 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/1.054, allocations: 164.2 kB / 0.8294 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.093/4.147, allocations: 3.938 kB / 0.8294 GB, free: 8.602 MB / 0.5105 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/linux/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)