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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008006/0.008006, allocations: 100.7 kB / 15.73 MB, free: 6.477 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.401/1.401, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.00134/0.001341, allocations: 196.4 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5167/0.5168, allocations: 91.9 MB / 431.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 78.8 kB / 0.5727 GB, free: 33.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1284, allocations: 71.28 MB / 0.6424 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.009735/0.1382, allocations: 8.764 MB / 0.6509 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005968/0.1442, allocations: 2.836 MB / 0.6537 GB, free: 7.934 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.1457, allocations: 19.94 kB / 0.6537 GB, free: 7.914 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.1469, allocations: 345 kB / 0.654 GB, free: 7.574 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.1502, allocations: 1.095 MB / 0.6551 GB, free: 6.477 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.1524, allocations: 0.9465 MB / 0.656 GB, free: 5.535 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003024/0.1554, allocations: 2.422 MB / 0.6584 GB, free: 3.109 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000823/0.1563, allocations: 486.1 kB / 0.6588 GB, free: 2.605 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.1577, allocations: 0.9571 MB / 0.6598 GB, free: 1.645 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.1593, allocations: 1.206 MB / 0.661 GB, free: 444 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004866/0.1598, allocations: 203.9 kB / 0.6612 GB, free: 240 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.1608, allocations: 483.6 kB / 0.6616 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005626/0.1614, allocations: 498.1 kB / 0.6621 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.1626, allocations: 0.9944 MB / 0.6631 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002753/0.1653, allocations: 2.55 MB / 0.6656 GB, free: 11.71 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1654, allocations: 0 / 0.6656 GB, free: 11.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1654, allocations: 0 / 0.6656 GB, free: 11.71 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.234e-05/0.1654, allocations: 4 kB / 0.6656 GB, free: 11.71 MB / 478.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.01321/0.1786, allocations: 3.754 MB / 0.6692 GB, free: 7.895 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1787, allocations: 12.03 kB / 0.6692 GB, free: 7.883 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004983/0.1836, allocations: 0.7741 MB / 0.67 GB, free: 7.105 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.1862, allocations: 1.215 MB / 0.6712 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005087/0.1867, allocations: 462.5 kB / 0.6716 GB, free: 5.312 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003102/0.1871, allocations: 123.9 kB / 0.6717 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/0.1906, allocations: 1.523 MB / 0.6732 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.1907, allocations: 0 / 0.6732 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.1908, allocations: 43.94 kB / 0.6733 GB, free: 3.574 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.1908, allocations: 24 kB / 0.6733 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003374/0.1942, allocations: 1.417 MB / 0.6747 GB, free: 2.125 MB / 478.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.009816/0.2041, allocations: 5.394 MB / 0.6799 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009275/0.2133, allocations: 3.074 MB / 0.6829 GB, free: 9.277 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/0.2155, allocations: 0.9629 MB / 0.6839 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/0.2161, allocations: 0.7297 MB / 0.6846 GB, free: 7.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002406/0.2185, allocations: 1.125 MB / 0.6857 GB, free: 6.262 MB / 494.1 MB Notification: Performance of pre-optimization done (n=133): time 3.076e-06/0.2186, allocations: 0 / 0.6857 GB, free: 6.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=133): time 0.04312/0.2617, allocations: 9.752 MB / 0.6952 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.2618, allocations: 120.1 kB / 0.6953 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.2645, allocations: 1.539 MB / 0.6968 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002981/0.2648, allocations: 57.77 kB / 0.6969 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005476/0.2654, allocations: 0.6515 MB / 0.6975 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005998/0.266, allocations: 489.1 kB / 0.698 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007938/0.2668, allocations: 371.5 kB / 0.6983 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.2669, allocations: 301.1 kB / 0.6986 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002512/0.2694, allocations: 1.05 MB / 0.6997 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/0.2721, allocations: 1.266 MB / 0.7009 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004939/0.2771, allocations: 2.228 MB / 0.7031 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.2771, allocations: 0 / 0.7031 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01021/0.2873, allocations: 3.839 MB / 0.7068 GB, free: 400 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.2874, allocations: 9.406 kB / 0.7068 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.2874, allocations: 7.938 kB / 0.7068 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01/0.2974, allocations: 2.667 MB / 0.7094 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.2991, allocations: 363.5 kB / 0.7098 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006704/0.3059, allocations: 2.703 MB / 0.7124 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/0.3085, allocations: 270.2 kB / 0.7127 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/0.3088, allocations: 71.98 kB / 0.7128 GB, free: 10.27 MB / 0.5137 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 ($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.0009022/0.3097, allocations: 326.3 kB / 0.7131 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000508/0.3102, allocations: 173.8 kB / 0.7132 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/0.3276, allocations: 4.946 MB / 0.7181 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.3277, allocations: 12 kB / 0.7181 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.3277, allocations: 0 / 0.7181 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.615e-05/0.3278, allocations: 15.97 kB / 0.7181 GB, free: 4.777 MB / 0.5137 GB 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.02121/0.349, allocations: 7.115 MB / 0.725 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.349, allocations: 0 / 0.725 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.3502, allocations: 167.8 kB / 0.7252 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007867/0.358, allocations: 2.146 MB / 0.7273 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000264/0.3583, allocations: 31.98 kB / 0.7273 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02745/0.3858, allocations: 10.06 MB / 0.7371 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3858, allocations: 4 kB / 0.7372 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02069/0.4065, allocations: 6.116 MB / 0.7431 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005985/0.4072, allocations: 294.5 kB / 0.7434 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005549/0.4077, allocations: 28 kB / 0.7434 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/0.4097, allocations: 147.8 kB / 0.7436 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009707/0.4107, allocations: 273.4 kB / 0.7438 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/0.4109, allocations: 36 kB / 0.7439 GB, free: 10.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001866/0.4128, allocations: 1.032 MB / 0.7449 GB, free: 9.004 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4128, allocations: 0 / 0.7449 GB, free: 9.004 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002008/0.4148, allocations: 0.5621 MB / 0.7454 GB, free: 8.441 MB / 0.545 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 () * 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.0005405/0.4154, allocations: 183.4 kB / 0.7456 GB, free: 8.258 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009761/0.4251, allocations: 3.037 MB / 0.7486 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.4252, allocations: 0 / 0.7486 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007011/0.4322, allocations: 1.986 MB / 0.7505 GB, free: 3.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.4339, allocations: 164.3 kB / 0.7507 GB, free: 3.055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007016/0.441, allocations: 3.305 MB / 0.7539 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009574/0.442, allocations: 1.274 MB / 0.7551 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008282/0.4428, allocations: 170.7 kB / 0.7553 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/0.4434, allocations: 103.4 kB / 0.7554 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.4434, allocations: 0 / 0.7554 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.3518/0.7952, allocations: 31.78 MB / 0.7864 GB, free: 111.7 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)