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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001775, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.482/1.482, allocations: 222.9 MB / 240.1 MB, free: 4.555 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.001856/0.001856, allocations: 192.5 kB / 290.4 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.5235/0.5235, allocations: 91.9 MB / 432.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 84.22 kB / 0.5734 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.163, allocations: 71.28 MB / 0.643 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.009375/0.1724, allocations: 8.834 MB / 0.6517 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006447/0.1789, allocations: 2.844 MB / 0.6544 GB, free: 7.867 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.1806, allocations: 16 kB / 0.6544 GB, free: 7.852 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.1818, allocations: 341 kB / 0.6548 GB, free: 7.516 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003119/0.185, allocations: 1.036 MB / 0.6558 GB, free: 6.477 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.1872, allocations: 0.9585 MB / 0.6567 GB, free: 5.523 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00347/0.1907, allocations: 2.44 MB / 0.6591 GB, free: 3.078 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000767/0.1915, allocations: 0.4982 MB / 0.6596 GB, free: 2.551 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.1929, allocations: 0.9649 MB / 0.6605 GB, free: 1.582 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.1942, allocations: 1.202 MB / 0.6617 GB, free: 384 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000313/0.1945, allocations: 204 kB / 0.6619 GB, free: 180 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009435/0.1955, allocations: 491.6 kB / 0.6624 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004344/0.1959, allocations: 0.4942 MB / 0.6628 GB, free: 15.2 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009031/0.1968, allocations: 0.9906 MB / 0.6638 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.1997, allocations: 2.597 MB / 0.6664 GB, free: 11.6 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1997, allocations: 0 / 0.6664 GB, free: 11.6 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1997, allocations: 4 kB / 0.6664 GB, free: 11.59 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.1998, allocations: 0 / 0.6664 GB, free: 11.59 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01295/0.2127, allocations: 3.758 MB / 0.67 GB, free: 7.773 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.2128, allocations: 12.03 kB / 0.67 GB, free: 7.762 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004447/0.2172, allocations: 0.7664 MB / 0.6708 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.2196, allocations: 1.231 MB / 0.672 GB, free: 5.711 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004698/0.2201, allocations: 462.5 kB / 0.6724 GB, free: 5.184 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.2203, allocations: 120 kB / 0.6725 GB, free: 5.066 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/0.2233, allocations: 1.551 MB / 0.6741 GB, free: 3.465 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.2234, allocations: 4 kB / 0.6741 GB, free: 3.461 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.2235, allocations: 44 kB / 0.6741 GB, free: 3.418 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.2235, allocations: 27.98 kB / 0.6741 GB, free: 3.391 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/0.2265, allocations: 1.445 MB / 0.6755 GB, free: 1.938 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.009897/0.2364, allocations: 5.43 MB / 0.6808 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008379/0.2448, allocations: 3.066 MB / 0.6838 GB, free: 9.062 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.247, allocations: 0.9785 MB / 0.6848 GB, free: 8.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000619/0.2477, allocations: 0.7258 MB / 0.6855 GB, free: 7.184 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002282/0.25, allocations: 1.126 MB / 0.6866 GB, free: 6.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=134): time 3.266e-06/0.25, allocations: 0 / 0.6866 GB, free: 6.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=134): time 0.03914/0.2891, allocations: 10.03 MB / 0.6964 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.2893, allocations: 120.2 kB / 0.6965 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/0.2918, allocations: 1.543 MB / 0.698 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004243/0.2922, allocations: 57.64 kB / 0.6981 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005208/0.2927, allocations: 0.6555 MB / 0.6987 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000604/0.2934, allocations: 485 kB / 0.6992 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006582/0.294, allocations: 383.4 kB / 0.6995 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.2941, allocations: 305.1 kB / 0.6998 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.2963, allocations: 1.05 MB / 0.7009 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/0.2987, allocations: 1.27 MB / 0.7021 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004349/0.303, allocations: 2.239 MB / 0.7043 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.3031, allocations: 4 kB / 0.7043 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009893/0.313, allocations: 3.999 MB / 0.7082 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.3131, allocations: 8 kB / 0.7082 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.199e-05/0.3131, allocations: 4 kB / 0.7082 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009166/0.3223, allocations: 2.683 MB / 0.7108 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.3242, allocations: 363.5 kB / 0.7112 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006577/0.3308, allocations: 2.691 MB / 0.7138 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/0.3337, allocations: 270.1 kB / 0.7141 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/0.334, allocations: 71.97 kB / 0.7141 GB, free: 9.57 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: 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.0008007/0.3348, allocations: 317.5 kB / 0.7144 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004011/0.3352, allocations: 177.8 kB / 0.7146 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/0.3509, allocations: 4.911 MB / 0.7194 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/0.351, allocations: 23.98 kB / 0.7194 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.351, allocations: 3.938 kB / 0.7194 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-05/0.351, allocations: 3.984 kB / 0.7194 GB, free: 4.109 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.01945/0.3705, allocations: 7.158 MB / 0.7264 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.3705, allocations: 4 kB / 0.7264 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.3717, allocations: 163.7 kB / 0.7266 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007277/0.379, allocations: 2.138 MB / 0.7287 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002897/0.3793, allocations: 31.98 kB / 0.7287 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02415/0.4035, allocations: 10.06 MB / 0.7385 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4035, allocations: 0 / 0.7385 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/0.4222, allocations: 6.163 MB / 0.7445 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008196/0.4231, allocations: 290.4 kB / 0.7448 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/0.4234, allocations: 32 kB / 0.7448 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.425, allocations: 143.8 kB / 0.745 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000867/0.4259, allocations: 269.4 kB / 0.7452 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.837e-05/0.426, allocations: 39.98 kB / 0.7453 GB, free: 9.285 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001619/0.4276, allocations: 1.032 MB / 0.7463 GB, free: 8.258 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4277, allocations: 0 / 0.7463 GB, free: 8.258 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001802/0.4295, allocations: 0.5659 MB / 0.7468 GB, free: 7.691 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,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.0004303/0.4299, allocations: 181.5 kB / 0.747 GB, free: 7.504 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00911/0.439, allocations: 3.042 MB / 0.75 GB, free: 4.461 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.4391, allocations: 192 / 0.75 GB, free: 4.461 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006578/0.4457, allocations: 2 MB / 0.7519 GB, free: 2.441 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.4472, allocations: 165.4 kB / 0.7521 GB, free: 2.281 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006531/0.4538, allocations: 3.377 MB / 0.7554 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008407/0.4546, allocations: 1.278 MB / 0.7566 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006018/0.4552, allocations: 115.4 kB / 0.7568 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.4553, allocations: 0 / 0.7568 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.3975/0.8528, allocations: 28.76 MB / 0.7848 GB, free: 113.3 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)