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.001189/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.416/1.416, allocations: 222.9 MB / 238.8 MB, free: 4.746 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.002065/0.002065, allocations: 192.5 kB / 289.1 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5494/0.5494, allocations: 91.9 MB / 431.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 75.88 kB / 0.5012 GB, free: 8.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3733, allocations: 71.26 MB / 0.5708 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.007698/0.3811, allocations: 9.098 MB / 0.5797 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005591/0.3867, allocations: 2.895 MB / 0.5825 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.3885, allocations: 23.12 kB / 0.5825 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009727/0.3894, allocations: 262.7 kB / 0.5828 GB, free: 28.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.392, allocations: 0.9079 MB / 0.5837 GB, free: 28.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.3942, allocations: 0.8784 MB / 0.5845 GB, free: 27.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002828/0.3971, allocations: 2.265 MB / 0.5867 GB, free: 26.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006639/0.3978, allocations: 442.9 kB / 0.5872 GB, free: 26.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.3992, allocations: 0.8533 MB / 0.588 GB, free: 26.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.4008, allocations: 1.122 MB / 0.5891 GB, free: 25.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003968/0.4012, allocations: 112.9 kB / 0.5892 GB, free: 25.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.4025, allocations: 378.6 kB / 0.5896 GB, free: 25.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004392/0.4029, allocations: 422.4 kB / 0.59 GB, free: 25.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.404, allocations: 0.8919 MB / 0.5908 GB, free: 24.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003142/0.4071, allocations: 2.455 MB / 0.5932 GB, free: 23.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.4072, allocations: 0 / 0.5932 GB, free: 23.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4072, allocations: 5 kB / 0.5932 GB, free: 23.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.583e-05/0.4072, allocations: 4 kB / 0.5932 GB, free: 23.66 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.01418/0.4214, allocations: 3.752 MB / 0.5969 GB, free: 22.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.4215, allocations: 11.09 kB / 0.5969 GB, free: 22.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/0.4268, allocations: 0.7725 MB / 0.5977 GB, free: 21.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/0.43, allocations: 1.209 MB / 0.5989 GB, free: 21.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005663/0.4306, allocations: 463.1 kB / 0.5993 GB, free: 20.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004006/0.431, allocations: 117.8 kB / 0.5994 GB, free: 20.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003628/0.4346, allocations: 1.521 MB / 0.6009 GB, free: 20.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.4347, allocations: 1.188 kB / 0.6009 GB, free: 20.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.4348, allocations: 45.8 kB / 0.6009 GB, free: 20.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.4348, allocations: 25.22 kB / 0.601 GB, free: 20.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003418/0.4383, allocations: 1.422 MB / 0.6023 GB, free: 19.52 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.01045/0.4487, allocations: 5.411 MB / 0.6076 GB, free: 16.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008596/0.4573, allocations: 3.077 MB / 0.6106 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/0.4596, allocations: 0.9625 MB / 0.6116 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004613/0.4601, allocations: 0.7278 MB / 0.6123 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002442/0.4625, allocations: 1.125 MB / 0.6134 GB, free: 13.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 3.467e-06/0.4626, allocations: 0 / 0.6134 GB, free: 13.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04064/0.5032, allocations: 9.759 MB / 0.6229 GB, free: 8.754 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.5033, allocations: 116.1 kB / 0.623 GB, free: 8.617 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002848/0.5061, allocations: 1.547 MB / 0.6245 GB, free: 7.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005472/0.5067, allocations: 49.7 kB / 0.6246 GB, free: 7.008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005379/0.5073, allocations: 0.6476 MB / 0.6252 GB, free: 6.355 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008677/0.5081, allocations: 489.1 kB / 0.6257 GB, free: 5.871 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008185/0.509, allocations: 375.5 kB / 0.626 GB, free: 5.496 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.509, allocations: 305.1 kB / 0.6263 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.5111, allocations: 1.046 MB / 0.6274 GB, free: 4.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.5132, allocations: 1.27 MB / 0.6286 GB, free: 2.809 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003807/0.517, allocations: 2.231 MB / 0.6308 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.517, allocations: 4 kB / 0.6308 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.009388/0.5264, allocations: 3.832 MB / 0.6345 GB, free: 12.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.5264, allocations: 8 kB / 0.6345 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.5265, allocations: 7.938 kB / 0.6345 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009624/0.5361, allocations: 2.675 MB / 0.6371 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.538, allocations: 363.5 kB / 0.6375 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006751/0.5447, allocations: 2.695 MB / 0.6401 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/0.5478, allocations: 274.1 kB / 0.6404 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003331/0.5482, allocations: 71.97 kB / 0.6405 GB, free: 6.559 MB / 446.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,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.001104/0.5493, allocations: 321.5 kB / 0.6408 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006684/0.55, allocations: 181.8 kB / 0.6409 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01648/0.5665, allocations: 4.958 MB / 0.6458 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.5665, allocations: 12 kB / 0.6458 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.5666, allocations: 0 / 0.6458 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.101e-05/0.5666, allocations: 11.97 kB / 0.6458 GB, free: 1.047 MB / 446.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.02133/0.5879, allocations: 7.121 MB / 0.6528 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.588, allocations: 4 kB / 0.6528 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.5891, allocations: 163.7 kB / 0.6529 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007576/0.5967, allocations: 2.142 MB / 0.655 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003201/0.5971, allocations: 35.98 kB / 0.655 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02454/0.6216, allocations: 9.171 MB / 0.664 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6217, allocations: 0 / 0.664 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01972/0.6414, allocations: 6.13 MB / 0.67 GB, free: 7.969 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.6425, allocations: 290.5 kB / 0.6703 GB, free: 7.664 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008683/0.6434, allocations: 24 kB / 0.6703 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/0.6463, allocations: 147.8 kB / 0.6704 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001376/0.6477, allocations: 269.2 kB / 0.6707 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002915/0.648, allocations: 36 kB / 0.6707 GB, free: 7.199 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00278/0.6508, allocations: 1.028 MB / 0.6717 GB, free: 6.176 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6509, allocations: 0 / 0.6717 GB, free: 6.176 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003384/0.6542, allocations: 0.5737 MB / 0.6723 GB, free: 5.602 MB / 478.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,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.0006872/0.655, allocations: 167.7 kB / 0.6724 GB, free: 5.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01051/0.6655, allocations: 3.011 MB / 0.6754 GB, free: 2.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.6655, allocations: 4.312 kB / 0.6754 GB, free: 2.406 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0066/0.6721, allocations: 1.948 MB / 0.6773 GB, free: 456 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/0.6747, allocations: 160.2 kB / 0.6774 GB, free: 296 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008026/0.6827, allocations: 3.918 MB / 0.6813 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.6839, allocations: 1.274 MB / 0.6825 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009795/0.6848, allocations: 158.8 kB / 0.6827 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/0.6854, allocations: 103.4 kB / 0.6828 GB, free: 10.78 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6854, allocations: 0 / 0.6828 GB, free: 10.78 MB / 494.1 MB Notification: Performance of Templates: time 0.04808/0.7335, allocations: 28.25 MB / 0.7103 GB, free: 14.55 MB / 0.5137 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)