Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.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.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009866/0.0009866, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.283/1.283, allocations: 223.3 MB / 239 MB, free: 5.594 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.0009521/0.0009521, allocations: 187.8 kB / 290.3 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4914/0.4914, allocations: 91.92 MB / 433.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003423, allocations: 8 kB / 0.5042 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2955, allocations: 72.46 MB / 0.5749 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1): time 0.006389/0.3019, allocations: 9.036 MB / 0.5838 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004156/0.3061, allocations: 3.005 MB / 0.5867 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007779/0.3069, allocations: 23.72 kB / 0.5867 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006287/0.3075, allocations: 265.9 kB / 0.587 GB, free: 28.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.3094, allocations: 0.9757 MB / 0.5879 GB, free: 27.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.3108, allocations: 0.7599 MB / 0.5887 GB, free: 27.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001855/0.3127, allocations: 2.482 MB / 0.5911 GB, free: 26.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00065/0.3134, allocations: 494.1 kB / 0.5916 GB, free: 25.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009598/0.3143, allocations: 0.9 MB / 0.5924 GB, free: 25.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.3154, allocations: 1.16 MB / 0.5936 GB, free: 25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.3157, allocations: 104.3 kB / 0.5937 GB, free: 25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006642/0.3164, allocations: 346.7 kB / 0.594 GB, free: 24.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.3167, allocations: 430.1 kB / 0.5944 GB, free: 24.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.317, allocations: 369.4 kB / 0.5948 GB, free: 24.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.3186, allocations: 2.236 MB / 0.597 GB, free: 23.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3186, allocations: 4 kB / 0.597 GB, free: 23.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3186, allocations: 0 / 0.597 GB, free: 23.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.728e-05/0.3186, allocations: 0 / 0.597 GB, free: 23.85 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.01152/0.3301, allocations: 3.82 MB / 0.6007 GB, free: 22.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3302, allocations: 9.594 kB / 0.6007 GB, free: 22.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00468/0.3349, allocations: 0.8154 MB / 0.6015 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002406/0.3373, allocations: 1.307 MB / 0.6028 GB, free: 21.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004445/0.3378, allocations: 0.5882 MB / 0.6033 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.338, allocations: 153.9 kB / 0.6035 GB, free: 20.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003519/0.3416, allocations: 1.88 MB / 0.6053 GB, free: 19.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.3416, allocations: 9.203 kB / 0.6053 GB, free: 19.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.3417, allocations: 59.38 kB / 0.6054 GB, free: 19.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.3418, allocations: 31.06 kB / 0.6054 GB, free: 19.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003664/0.3454, allocations: 1.741 MB / 0.6071 GB, free: 19.34 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.01019/0.3556, allocations: 6.469 MB / 0.6134 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008873/0.3645, allocations: 3.896 MB / 0.6172 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002259/0.3668, allocations: 1.164 MB / 0.6184 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004373/0.3673, allocations: 0.733 MB / 0.6191 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002638/0.3699, allocations: 1.329 MB / 0.6204 GB, free: 12.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=159): time 3.617e-06/0.3699, allocations: 3.938 kB / 0.6204 GB, free: 12.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.04862/0.4186, allocations: 12.29 MB / 0.6324 GB, free: 2.258 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.4187, allocations: 145.8 kB / 0.6325 GB, free: 2.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.4213, allocations: 1.744 MB / 0.6342 GB, free: 304 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005028/0.4218, allocations: 57.7 kB / 0.6343 GB, free: 240 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007219/0.4226, allocations: 0.7898 MB / 0.6351 GB, free: 15.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008999/0.4235, allocations: 0.5661 MB / 0.6356 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.4237, allocations: 44 kB / 0.6357 GB, free: 14.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.4239, allocations: 394.5 kB / 0.636 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00269/0.4265, allocations: 1.219 MB / 0.6372 GB, free: 13.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003094/0.4297, allocations: 1.473 MB / 0.6387 GB, free: 11.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002994/0.4327, allocations: 1.3 MB / 0.6399 GB, free: 10.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.4327, allocations: 4 kB / 0.6399 GB, free: 10.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01102/0.4438, allocations: 4.619 MB / 0.6445 GB, free: 5.656 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/0.444, allocations: 224.7 kB / 0.6447 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/0.444, allocations: 8 kB / 0.6447 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009183/0.4532, allocations: 3.038 MB / 0.6476 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.4553, allocations: 411.4 kB / 0.648 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006472/0.4618, allocations: 3.023 MB / 0.651 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/0.4649, allocations: 353.9 kB / 0.6513 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003527/0.4653, allocations: 75.98 kB / 0.6514 GB, free: 14.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.4653, allocations: 4 kB / 0.6514 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01006/0.4754, allocations: 4.386 MB / 0.6557 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.4754, allocations: 4 kB / 0.6557 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008869/0.4843, allocations: 3.023 MB / 0.6586 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/0.4863, allocations: 415.4 kB / 0.659 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006491/0.4929, allocations: 2.992 MB / 0.662 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/0.4956, allocations: 326.2 kB / 0.6623 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003398/0.496, allocations: 79.98 kB / 0.6624 GB, free: 3.148 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 230 * 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.001042/0.497, allocations: 448.6 kB / 0.6628 GB, free: 2.699 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005379/0.4976, allocations: 201.5 kB / 0.663 GB, free: 2.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01759/0.5152, allocations: 6.193 MB / 0.669 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.5152, allocations: 19.95 kB / 0.669 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.5152, allocations: 3.938 kB / 0.669 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.382e-05/0.5153, allocations: 11.91 kB / 0.6691 GB, free: 12.25 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 postOpt removeSimpleEquations (simulation): time 0.02103/0.5363, allocations: 8.684 MB / 0.6775 GB, free: 3.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.5364, allocations: 7.984 kB / 0.6775 GB, free: 3.422 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.5377, allocations: 223.8 kB / 0.6778 GB, free: 3.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007235/0.545, allocations: 2.513 MB / 0.6802 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002515/0.5453, allocations: 39.98 kB / 0.6802 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02315/0.5684, allocations: 10.3 MB / 0.6903 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5685, allocations: 11.88 kB / 0.6903 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01961/0.5881, allocations: 7.632 MB / 0.6978 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007662/0.5889, allocations: 326.1 kB / 0.6981 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005659/0.5894, allocations: 36 kB / 0.6981 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/0.5914, allocations: 211.8 kB / 0.6983 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000906/0.5923, allocations: 285.2 kB / 0.6986 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/0.5925, allocations: 47.98 kB / 0.6986 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002022/0.5946, allocations: 1.16 MB / 0.6998 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5946, allocations: 0 / 0.6998 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003304/0.5979, allocations: 1.022 MB / 0.7008 GB, free: 11.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.y) * 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 (116): * Single equations (assignments): 115 * 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.0004613/0.5984, allocations: 168.8 kB / 0.7009 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01642/0.6148, allocations: 6.106 MB / 0.7069 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.6148, allocations: 0 / 0.7069 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006313/0.6212, allocations: 2.362 MB / 0.7092 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.623, allocations: 188.3 kB / 0.7094 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007364/0.6304, allocations: 4.621 MB / 0.7139 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009202/0.6314, allocations: 1.396 MB / 0.7152 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001175/0.6325, allocations: 224.4 kB / 0.7155 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.633, allocations: 119.4 kB / 0.7156 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.633, allocations: 0 / 0.7156 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.0494/0.6824, allocations: 34.5 MB / 0.7493 GB, free: 9.652 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)