Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.EXAC2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008366/0.0008365, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.339/1.339, allocations: 223.3 MB / 239.4 MB, free: 5.375 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.001118/0.001117, allocations: 176.5 kB / 290.6 MB, free: 2.055 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4425/0.4425, allocations: 78.55 MB / 420.3 MB, free: 4.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003745, allocations: 12 kB / 0.4887 GB, free: 5.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.157, allocations: 69.36 MB / 0.5564 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2): time 0.2778/0.4348, allocations: 9.052 MB / 0.5652 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006883/0.4418, allocations: 3.023 MB / 0.5682 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002599/0.4444, allocations: 17.41 kB / 0.5682 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.4463, allocations: 276.2 kB / 0.5685 GB, free: 33.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005289/0.4516, allocations: 1.104 MB / 0.5696 GB, free: 32.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.4543, allocations: 0.8769 MB / 0.5704 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00463/0.459, allocations: 2.589 MB / 0.5729 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.4603, allocations: 0.5061 MB / 0.5734 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.4624, allocations: 0.8669 MB / 0.5743 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.4647, allocations: 1.139 MB / 0.5754 GB, free: 31.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000846/0.4655, allocations: 100.5 kB / 0.5755 GB, free: 31.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.4671, allocations: 367.2 kB / 0.5758 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007321/0.4678, allocations: 419.9 kB / 0.5762 GB, free: 31.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.4695, allocations: 0.9468 MB / 0.5772 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003503/0.473, allocations: 2.63 MB / 0.5797 GB, free: 30.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.473, allocations: 0 / 0.5797 GB, free: 30.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.473, allocations: 0 / 0.5797 GB, free: 30.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001308/0.4731, allocations: 0 / 0.5797 GB, free: 30.26 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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.01486/0.488, allocations: 3.949 MB / 0.5836 GB, free: 28.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.4881, allocations: 8.688 kB / 0.5836 GB, free: 28.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005184/0.4933, allocations: 0.7938 MB / 0.5844 GB, free: 28.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003358/0.4966, allocations: 1.283 MB / 0.5856 GB, free: 27.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006106/0.4973, allocations: 0.5058 MB / 0.5861 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006684/0.498, allocations: 133.9 kB / 0.5862 GB, free: 27.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004833/0.5028, allocations: 1.762 MB / 0.588 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.5029, allocations: 0 / 0.588 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/0.5031, allocations: 50.06 kB / 0.588 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.5032, allocations: 32.72 kB / 0.588 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004352/0.5075, allocations: 1.649 MB / 0.5897 GB, free: 26.07 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.0138/0.5213, allocations: 5.867 MB / 0.5954 GB, free: 22.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/0.5329, allocations: 3.841 MB / 0.5991 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003382/0.5364, allocations: 1.105 MB / 0.6002 GB, free: 21.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008546/0.5373, allocations: 0.7314 MB / 0.6009 GB, free: 20.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003917/0.5412, allocations: 1.279 MB / 0.6022 GB, free: 19.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 1.06e-05/0.5413, allocations: 0 / 0.6022 GB, free: 19.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=143): time 0.05313/0.5944, allocations: 12.98 MB / 0.6149 GB, free: 16.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/0.5946, allocations: 152.3 kB / 0.615 GB, free: 16.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003839/0.5984, allocations: 1.609 MB / 0.6166 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000699/0.5991, allocations: 56.08 kB / 0.6166 GB, free: 15.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007646/0.5999, allocations: 0.7084 MB / 0.6173 GB, free: 14.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008865/0.6008, allocations: 0.5162 MB / 0.6178 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006133/0.6014, allocations: 197.9 kB / 0.618 GB, free: 14.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.6015, allocations: 301.1 kB / 0.6183 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002751/0.6043, allocations: 1.191 MB / 0.6195 GB, free: 12.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002906/0.6072, allocations: 1.423 MB / 0.6208 GB, free: 11.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005685/0.6129, allocations: 2.509 MB / 0.6233 GB, free: 8.586 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/0.613, allocations: 0 / 0.6233 GB, free: 8.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.02044/0.6334, allocations: 6.837 MB / 0.63 GB, free: 1.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.6336, allocations: 213.2 kB / 0.6302 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.6336, allocations: 4 kB / 0.6302 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/0.6445, allocations: 3.177 MB / 0.6333 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/0.6465, allocations: 363.5 kB / 0.6336 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008295/0.6548, allocations: 3.7 MB / 0.6372 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003422/0.6583, allocations: 338.1 kB / 0.6376 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004989/0.6588, allocations: 67.98 kB / 0.6376 GB, free: 9.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6589, allocations: 8 kB / 0.6376 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02099/0.6799, allocations: 6.623 MB / 0.6441 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/0.68, allocations: 4 kB / 0.6441 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01128/0.6912, allocations: 3.163 MB / 0.6472 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.6933, allocations: 360.6 kB / 0.6475 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008567/0.7019, allocations: 3.678 MB / 0.6511 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/0.705, allocations: 310.3 kB / 0.6514 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004638/0.7055, allocations: 75.98 kB / 0.6515 GB, free: 11.41 MB / 462.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,eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001355/0.7069, allocations: 431 kB / 0.6519 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007443/0.7077, allocations: 186.5 kB / 0.6521 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01901/0.7267, allocations: 6.058 MB / 0.658 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/0.7268, allocations: 16 kB / 0.658 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.7268, allocations: 0 / 0.658 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.367e-05/0.7268, allocations: 7.969 kB / 0.658 GB, free: 4.695 MB / 462.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.0252/0.7521, allocations: 8.415 MB / 0.6663 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/0.7521, allocations: 0 / 0.6663 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.7535, allocations: 192.3 kB / 0.6664 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00845/0.762, allocations: 2.519 MB / 0.6689 GB, free: 9.438 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004608/0.7625, allocations: 31.98 kB / 0.6689 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02737/0.7899, allocations: 10.33 MB / 0.679 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7899, allocations: 0 / 0.679 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02226/0.8122, allocations: 7.451 MB / 0.6863 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008404/0.8131, allocations: 302.4 kB / 0.6866 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003767/0.8135, allocations: 28 kB / 0.6866 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/0.8154, allocations: 208.6 kB / 0.6868 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009121/0.8163, allocations: 277.3 kB / 0.6871 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.8164, allocations: 39.98 kB / 0.6871 GB, free: 6.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001662/0.8181, allocations: 1.085 MB / 0.6882 GB, free: 5.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.8181, allocations: 0 / 0.6882 GB, free: 5.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002534/0.8207, allocations: 0.9596 MB / 0.6891 GB, free: 4.559 MB / 494.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,eXAC2.imLimitedSimpleLag.state,eXAC2.imDerivativeLag.x,eXAC2.leadLag.TF.x_scaled[1],eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC2.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 (100): * Single equations (assignments): 99 * 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.0004054/0.8211, allocations: 171.6 kB / 0.6893 GB, free: 4.379 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01787/0.839, allocations: 5.959 MB / 0.6951 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.839, allocations: 0 / 0.6951 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00708/0.8461, allocations: 2.302 MB / 0.6973 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.848, allocations: 165.2 kB / 0.6975 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007146/0.8552, allocations: 4.398 MB / 0.7018 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/0.8561, allocations: 1.323 MB / 0.7031 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001132/0.8572, allocations: 207 kB / 0.7033 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.8576, allocations: 103.4 kB / 0.7034 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of SimCode: time 7.52e-07/0.8576, allocations: 0 / 0.7034 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of Templates: time 0.05609/0.9137, allocations: 35.87 MB / 0.7384 GB, free: 2.176 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe 2>&1) Environment - environmentSimulation: