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.001092/0.001092, allocations: 110.4 kB / 15.99 MB, free: 6.344 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.247/1.247, allocations: 222.9 MB / 239.6 MB, free: 4.723 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.001202/0.001202, allocations: 192.4 kB / 289.9 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.437/0.437, allocations: 78.52 MB / 418.6 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 79.86 kB / 497.6 MB, free: 6.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1207, allocations: 68.18 MB / 0.5525 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2): time 0.2179/0.3386, allocations: 9.594 MB / 0.5619 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005642/0.3443, allocations: 3.031 MB / 0.5648 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.3461, allocations: 21.41 kB / 0.5649 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.3472, allocations: 273.1 kB / 0.5651 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.3508, allocations: 1.111 MB / 0.5662 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.3528, allocations: 0.8721 MB / 0.5671 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003258/0.3561, allocations: 2.745 MB / 0.5697 GB, free: 33.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007633/0.3569, allocations: 0.5624 MB / 0.5703 GB, free: 33.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.3583, allocations: 1.042 MB / 0.5713 GB, free: 32.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.3595, allocations: 1.286 MB / 0.5726 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003232/0.3598, allocations: 226.3 kB / 0.5728 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000804/0.3607, allocations: 0.4945 MB / 0.5733 GB, free: 32.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003489/0.361, allocations: 0.5417 MB / 0.5738 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008054/0.3618, allocations: 1.073 MB / 0.5748 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.3638, allocations: 2.175 MB / 0.577 GB, free: 30.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3638, allocations: 1.406 kB / 0.577 GB, free: 30.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3638, allocations: 0.8125 kB / 0.577 GB, free: 30.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.743e-05/0.3639, allocations: 2.625 kB / 0.577 GB, free: 30.95 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.01413/0.378, allocations: 4.226 MB / 0.5811 GB, free: 29.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3781, allocations: 8.75 kB / 0.5811 GB, free: 29.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004363/0.3824, allocations: 0.7813 MB / 0.5819 GB, free: 29.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.3846, allocations: 1.281 MB / 0.5831 GB, free: 28.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004338/0.385, allocations: 0.4965 MB / 0.5836 GB, free: 27.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/0.3853, allocations: 135.4 kB / 0.5837 GB, free: 27.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003477/0.3888, allocations: 1.672 MB / 0.5854 GB, free: 27.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.3888, allocations: 0 / 0.5854 GB, free: 27.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.389, allocations: 50.06 kB / 0.5854 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.389, allocations: 27.19 kB / 0.5854 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/0.3924, allocations: 1.55 MB / 0.5869 GB, free: 26.53 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.0102/0.4026, allocations: 5.772 MB / 0.5926 GB, free: 23.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009032/0.4116, allocations: 3.241 MB / 0.5957 GB, free: 21.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002483/0.4142, allocations: 1.027 MB / 0.5968 GB, free: 21.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004619/0.4147, allocations: 0.7276 MB / 0.5975 GB, free: 20.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002695/0.4174, allocations: 1.182 MB / 0.5986 GB, free: 20.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 3.617e-06/0.4174, allocations: 0 / 0.5986 GB, free: 20.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=143): time 0.04388/0.4613, allocations: 10.64 MB / 0.609 GB, free: 17.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.4614, allocations: 152 kB / 0.6092 GB, free: 17.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/0.464, allocations: 1.615 MB / 0.6107 GB, free: 16.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004823/0.4645, allocations: 57.05 kB / 0.6108 GB, free: 16.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.4649, allocations: 0.7038 MB / 0.6115 GB, free: 16.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005712/0.4655, allocations: 0.5148 MB / 0.612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007096/0.4662, allocations: 385.8 kB / 0.6123 GB, free: 15.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.934e-05/0.4662, allocations: 302.2 kB / 0.6126 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/0.4686, allocations: 1.108 MB / 0.6137 GB, free: 14.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002424/0.471, allocations: 1.344 MB / 0.615 GB, free: 13.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004416/0.4754, allocations: 2.32 MB / 0.6173 GB, free: 12.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.4755, allocations: 1.375 kB / 0.6173 GB, free: 12.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.0164/0.4919, allocations: 5.775 MB / 0.6229 GB, free: 6.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.4919, allocations: 8 kB / 0.6229 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.492, allocations: 4 kB / 0.6229 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009154/0.5011, allocations: 2.805 MB / 0.6257 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.5029, allocations: 364.6 kB / 0.626 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006005/0.5089, allocations: 3.376 MB / 0.6293 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.5118, allocations: 286.1 kB / 0.6296 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002722/0.5121, allocations: 71.97 kB / 0.6297 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003063/0.5152, allocations: 1.344 MB / 0.631 GB, free: 14.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00261/0.5178, allocations: 1.319 MB / 0.6323 GB, free: 13.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004941/0.5227, allocations: 2.298 MB / 0.6345 GB, free: 10.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.943e-06/0.5228, allocations: 0 / 0.6345 GB, free: 10.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=271) (initialization_lambda0): time 0.01789/0.5407, allocations: 5.751 MB / 0.6401 GB, free: 4.859 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.5407, allocations: 13.08 kB / 0.6401 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5408, allocations: 6.188 kB / 0.6401 GB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00995/0.5507, allocations: 2.8 MB / 0.6429 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.5526, allocations: 355.5 kB / 0.6432 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007045/0.5597, allocations: 3.37 MB / 0.6465 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/0.5625, allocations: 262.5 kB / 0.6468 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/0.5628, allocations: 71.98 kB / 0.6468 GB, free: 13.95 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.000492/0.5633, allocations: 280.6 kB / 0.6471 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004484/0.5637, allocations: 181.7 kB / 0.6473 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01611/0.5798, allocations: 5.012 MB / 0.6522 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/0.5799, allocations: 16 kB / 0.6522 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.5799, allocations: 0 / 0.6522 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.267e-05/0.58, allocations: 11.97 kB / 0.6522 GB, free: 8.43 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.01976/0.5998, allocations: 7.337 MB / 0.6594 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/0.5998, allocations: 9.781 kB / 0.6594 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.6011, allocations: 195.7 kB / 0.6596 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007378/0.6085, allocations: 2.147 MB / 0.6616 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003768/0.6089, allocations: 31.98 kB / 0.6617 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02462/0.6335, allocations: 10.07 MB / 0.6715 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6336, allocations: 0 / 0.6715 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01886/0.6524, allocations: 6.283 MB / 0.6776 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007655/0.6532, allocations: 311.1 kB / 0.6779 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/0.6536, allocations: 28 kB / 0.678 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/0.6554, allocations: 155.8 kB / 0.6781 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009359/0.6564, allocations: 286.8 kB / 0.6784 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.6565, allocations: 41.58 kB / 0.6784 GB, free: 13.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001611/0.6581, allocations: 1.081 MB / 0.6795 GB, free: 12.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6581, allocations: 4 kB / 0.6795 GB, free: 12.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002395/0.6605, allocations: 0.9557 MB / 0.6804 GB, free: 11.18 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.000395/0.6609, allocations: 175.9 kB / 0.6806 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01716/0.6781, allocations: 5.409 MB / 0.6859 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.6781, allocations: 0 / 0.6859 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006422/0.6846, allocations: 2.055 MB / 0.6879 GB, free: 3.531 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.6863, allocations: 168.1 kB / 0.688 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006999/0.6933, allocations: 4.286 MB / 0.6922 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008031/0.6941, allocations: 1.323 MB / 0.6935 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007026/0.6948, allocations: 123.4 kB / 0.6936 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.6948, allocations: 0 / 0.6936 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.0403/0.7352, allocations: 33.99 MB / 0.7268 GB, free: 11.74 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.makefile (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)