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.001147/0.001147, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 239.3 MB, free: 4.578 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.001309/0.001309, allocations: 192.4 kB / 289.6 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4878/0.4878, allocations: 91.91 MB / 431.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 75.88 kB / 0.502 GB, free: 7.629 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3385, allocations: 71.26 MB / 0.5716 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.007052/0.3456, allocations: 8.768 MB / 0.5801 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005062/0.3507, allocations: 2.845 MB / 0.5829 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.3518, allocations: 13.78 kB / 0.5829 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00082/0.3526, allocations: 344.2 kB / 0.5833 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.3549, allocations: 1.042 MB / 0.5843 GB, free: 28.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.3565, allocations: 0.9408 MB / 0.5852 GB, free: 28.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.3585, allocations: 2.4 MB / 0.5875 GB, free: 26.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005697/0.359, allocations: 486.7 kB / 0.588 GB, free: 26.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009864/0.36, allocations: 0.9565 MB / 0.5889 GB, free: 26.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.3611, allocations: 1.194 MB / 0.5901 GB, free: 25.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002886/0.3614, allocations: 201.7 kB / 0.5903 GB, free: 25.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007743/0.3622, allocations: 486.5 kB / 0.5908 GB, free: 25.53 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.3625, allocations: 0.4909 MB / 0.5912 GB, free: 25.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006154/0.3631, allocations: 0.9762 MB / 0.5922 GB, free: 24.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.3653, allocations: 2.535 MB / 0.5947 GB, free: 23.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3653, allocations: 0 / 0.5947 GB, free: 23.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3653, allocations: 1.875 kB / 0.5947 GB, free: 23.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.351e-05/0.3653, allocations: 4 kB / 0.5947 GB, free: 23.43 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.01241/0.3777, allocations: 3.758 MB / 0.5983 GB, free: 21.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3778, allocations: 10.12 kB / 0.5984 GB, free: 21.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002058/0.378, allocations: 165.3 kB / 0.5985 GB, free: 21.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004447/0.3825, allocations: 0.7735 MB / 0.5993 GB, free: 21.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.3845, allocations: 1.202 MB / 0.6004 GB, free: 20.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003922/0.3849, allocations: 462.9 kB / 0.6009 GB, free: 20.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.3851, allocations: 122.1 kB / 0.601 GB, free: 20.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00298/0.3881, allocations: 1.525 MB / 0.6025 GB, free: 19.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.3882, allocations: 0 / 0.6025 GB, free: 19.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.3883, allocations: 46.75 kB / 0.6025 GB, free: 19.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.3883, allocations: 24.84 kB / 0.6026 GB, free: 19.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003164/0.3915, allocations: 1.418 MB / 0.6039 GB, free: 19.18 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.009659/0.4012, allocations: 5.416 MB / 0.6092 GB, free: 16.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008442/0.4096, allocations: 3.073 MB / 0.6122 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002123/0.4118, allocations: 0.9659 MB / 0.6132 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004242/0.4122, allocations: 0.732 MB / 0.6139 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002336/0.4146, allocations: 1.121 MB / 0.615 GB, free: 13.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 3.616e-06/0.4146, allocations: 0 / 0.615 GB, free: 13.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.03771/0.4523, allocations: 9.765 MB / 0.6245 GB, free: 7.801 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.4524, allocations: 120.2 kB / 0.6246 GB, free: 7.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.4544, allocations: 1.547 MB / 0.6261 GB, free: 6.105 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003391/0.4548, allocations: 49.7 kB / 0.6262 GB, free: 6.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.4551, allocations: 0.6476 MB / 0.6268 GB, free: 5.398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00043/0.4556, allocations: 481.1 kB / 0.6273 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005689/0.4561, allocations: 371.5 kB / 0.6276 GB, free: 4.551 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.244e-05/0.4562, allocations: 309.1 kB / 0.6279 GB, free: 4.246 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.4581, allocations: 1.043 MB / 0.629 GB, free: 3.199 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/0.4602, allocations: 1.274 MB / 0.6302 GB, free: 1.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00396/0.4641, allocations: 2.224 MB / 0.6324 GB, free: 15.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4642, allocations: 4 kB / 0.6324 GB, free: 15.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.009377/0.4735, allocations: 3.839 MB / 0.6361 GB, free: 11.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.4736, allocations: 11.94 kB / 0.6361 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.4736, allocations: 4 kB / 0.6361 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009219/0.4828, allocations: 2.679 MB / 0.6388 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.4846, allocations: 367.4 kB / 0.6391 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006059/0.4907, allocations: 2.695 MB / 0.6417 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/0.4934, allocations: 274.1 kB / 0.642 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.4936, allocations: 67.98 kB / 0.6421 GB, free: 5.602 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: 3 ($whenCondition2,$whenCondition1,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 (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.0007083/0.4943, allocations: 325.4 kB / 0.6424 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/0.4947, allocations: 181.8 kB / 0.6425 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/0.511, allocations: 4.946 MB / 0.6474 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/0.5111, allocations: 23.94 kB / 0.6474 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.5111, allocations: 0 / 0.6474 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-05/0.5112, allocations: 11.97 kB / 0.6474 GB, free: 92 kB / 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.01941/0.5306, allocations: 7.121 MB / 0.6544 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.5306, allocations: 3.938 kB / 0.6544 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.5317, allocations: 163.7 kB / 0.6545 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007488/0.5392, allocations: 2.15 MB / 0.6566 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002741/0.5395, allocations: 31.98 kB / 0.6567 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02521/0.5648, allocations: 10.07 MB / 0.6665 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5648, allocations: 0 / 0.6665 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/0.5841, allocations: 6.126 MB / 0.6725 GB, free: 6.105 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000933/0.585, allocations: 294.5 kB / 0.6728 GB, free: 5.797 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003049/0.5854, allocations: 20 kB / 0.6728 GB, free: 5.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.5871, allocations: 155.8 kB / 0.6729 GB, free: 5.625 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008665/0.5879, allocations: 265.4 kB / 0.6732 GB, free: 5.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.5881, allocations: 36 kB / 0.6732 GB, free: 5.332 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0016/0.5897, allocations: 1.032 MB / 0.6742 GB, free: 4.305 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5897, allocations: 4 kB / 0.6742 GB, free: 4.301 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001633/0.5913, allocations: 0.5659 MB / 0.6748 GB, free: 3.734 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 (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.01965/0.611, allocations: 6.75 MB / 0.6814 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01003/0.621, allocations: 3.084 MB / 0.6844 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.6211, allocations: 4 kB / 0.6844 GB, free: 9.844 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006434/0.6275, allocations: 1.993 MB / 0.6863 GB, free: 7.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.6293, allocations: 160.9 kB / 0.6865 GB, free: 7.684 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05769/0.687, allocations: 23.44 MB / 0.7094 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000934/0.688, allocations: 1.274 MB / 0.7106 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001029/0.689, allocations: 162.8 kB / 0.7108 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009193/0.69, allocations: 0.6555 MB / 0.7114 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of SimCode: time 1.674e-06/0.69, allocations: 0 / 0.7114 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08062/0.7706, allocations: 46.16 MB / 0.7565 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.27, allocations: 7.062 kB / 0.7565 GB, free: 14.95 MB / 0.5606 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/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)