Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 177.1 MB / 199.7 MB, free: 5.812 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 160.6 kB / 256.3 MB, free: 13.16 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5237/0.5237, allocations: 80.38 MB / 393.1 MB, free: 2.141 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 224 / 489.3 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.106e-05/4.286e-05, allocations: 2.312 kB / 489.3 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.01046/0.0105, allocations: 7.333 MB / 496.6 MB, free: 4.465 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005895/0.0164, allocations: 2.475 MB / 499.1 MB, free: 2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.01745, allocations: 15.94 kB / 499.1 MB, free: 1.984 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.0186, allocations: 325.2 kB / 499.4 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003406/0.02201, allocations: 1.168 MB / 0.4888 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.02379, allocations: 0.7002 MB / 0.4895 GB, free: 15.81 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00319/0.02698, allocations: 2.209 MB / 0.4917 GB, free: 13.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007311/0.02771, allocations: 276.9 kB / 0.4919 GB, free: 13.3 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.03013, allocations: 1.229 MB / 0.4931 GB, free: 12.07 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.03177, allocations: 0.904 MB / 0.494 GB, free: 11.16 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004867/0.03225, allocations: 184.6 kB / 0.4942 GB, free: 10.98 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009249/0.03318, allocations: 371.7 kB / 0.4945 GB, free: 10.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005872/0.03377, allocations: 466.6 kB / 0.495 GB, free: 10.16 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.0348, allocations: 0.62 MB / 0.4956 GB, free: 9.543 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.03811, allocations: 2.367 MB / 0.4979 GB, free: 7.168 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.03811, allocations: 4 kB / 0.4979 GB, free: 7.164 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.03811, allocations: 0.7188 kB / 0.4979 GB, free: 7.164 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.01e-05/0.03817, allocations: 0 / 0.4979 GB, free: 7.164 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01363/0.0518, allocations: 3.702 MB / 0.5015 GB, free: 3.438 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.05185, allocations: 8.031 kB / 0.5015 GB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004894/0.05674, allocations: 0.9081 MB / 0.5024 GB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.05917, allocations: 1.08 MB / 0.5035 GB, free: 1.402 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007056/0.05988, allocations: 0.5731 MB / 0.504 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/0.06017, allocations: 112 kB / 0.5041 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/0.06362, allocations: 1.447 MB / 0.5056 GB, free: 15.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.06364, allocations: 0 / 0.5056 GB, free: 15.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.0638, allocations: 44 kB / 0.5056 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.06383, allocations: 24 kB / 0.5056 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003672/0.0675, allocations: 1.359 MB / 0.5069 GB, free: 13.72 MB / 442.7 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.009308/0.07681, allocations: 3.707 MB / 0.5106 GB, free: 9.949 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00911/0.08592, allocations: 2.35 MB / 0.5129 GB, free: 7.574 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/0.08818, allocations: 0.8331 MB / 0.5137 GB, free: 6.734 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.08832, allocations: 25 kB / 0.5137 GB, free: 6.707 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002619/0.09094, allocations: 1.081 MB / 0.5148 GB, free: 5.605 MB / 442.7 MB Notification: Performance of pre-optimization done (n=127): time 6.301e-06/0.09095, allocations: 3.984 kB / 0.5148 GB, free: 5.602 MB / 442.7 MB Notification: Performance of matching and sorting (n=127): time 0.0461/0.137, allocations: 9.969 MB / 0.5245 GB, free: 11.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.1372, allocations: 115.8 kB / 0.5246 GB, free: 11.47 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/0.1398, allocations: 1.353 MB / 0.5259 GB, free: 10.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002559/0.14, allocations: 53.69 kB / 0.526 GB, free: 10.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006701/0.1407, allocations: 0.6084 MB / 0.5266 GB, free: 9.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000695/0.1414, allocations: 483.9 kB / 0.527 GB, free: 8.953 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008409/0.1422, allocations: 327.5 kB / 0.5273 GB, free: 8.629 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1424, allocations: 305.1 kB / 0.5276 GB, free: 8.328 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002644/0.145, allocations: 0.98 MB / 0.5286 GB, free: 7.348 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/0.1478, allocations: 1.17 MB / 0.5297 GB, free: 6.133 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005154/0.153, allocations: 2.089 MB / 0.5318 GB, free: 4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.153, allocations: 0 / 0.5318 GB, free: 4 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.02001/0.173, allocations: 5.529 MB / 0.5372 GB, free: 14.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.173, allocations: 4 kB / 0.5372 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.1731, allocations: 8 kB / 0.5372 GB, free: 14.45 MB / 474.7 MB Warning: Initialization start-value cycle: the start attribute of 'sCRX.switch1.u1' depends, directly or transitively, on the variable itself. The start attribute defines the initial value of 'sCRX.switch1.u1' and therefore cannot be computed from it, so this start value cannot be used to initialize the variable (see Modelica Specification section 4.9.6). This is possibly a modeling error; if unintended, give 'sCRX.switch1.u1' a start value that does not depend on itself. Use the transformational debugger to inspect the dependency chain. Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/0.1848, allocations: 3.023 MB / 0.5401 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.1863, allocations: 271.6 kB / 0.5404 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009028/0.1953, allocations: 3.051 MB / 0.5434 GB, free: 8.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/0.198, allocations: 246.9 kB / 0.5436 GB, free: 7.828 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003198/0.1984, allocations: 63.98 kB / 0.5437 GB, free: 7.766 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.000876/0.1992, allocations: 301.5 kB / 0.544 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000663/0.1999, allocations: 206.8 kB / 0.5442 GB, free: 7.258 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01903/0.2189, allocations: 4.858 MB / 0.5489 GB, free: 2.379 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/0.2189, allocations: 15.98 kB / 0.5489 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.219, allocations: 0 / 0.5489 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-05/0.219, allocations: 7.984 kB / 0.5489 GB, free: 2.355 MB / 474.7 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.02268/0.2417, allocations: 6.097 MB / 0.5549 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.2417, allocations: 0 / 0.5549 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.2428, allocations: 143.8 kB / 0.555 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01618/0.259, allocations: 3.145 MB / 0.5581 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003494/0.2593, allocations: 31.98 kB / 0.5581 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03084/0.2901, allocations: 9.901 MB / 0.5678 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2901, allocations: 0 / 0.5678 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02181/0.312, allocations: 6.007 MB / 0.5737 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006281/0.3126, allocations: 198.6 kB / 0.5738 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004314/0.313, allocations: 24 kB / 0.5739 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/0.315, allocations: 139.8 kB / 0.574 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/0.316, allocations: 265.3 kB / 0.5743 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002178/0.3162, allocations: 40.09 kB / 0.5743 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002079/0.3183, allocations: 0.9212 MB / 0.5752 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.3183, allocations: 0 / 0.5752 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002242/0.3205, allocations: 0.5346 MB / 0.5757 GB, free: 6.707 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.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 (84): * Single equations (assignments): 83 * 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.0005126/0.321, allocations: 173.3 kB / 0.5759 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01037/0.3314, allocations: 2.768 MB / 0.5786 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3314, allocations: 0 / 0.5786 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007257/0.3386, allocations: 1.898 MB / 0.5804 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.3404, allocations: 173 kB / 0.5806 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00683/0.3472, allocations: 2.921 MB / 0.5835 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008702/0.3481, allocations: 0.6459 MB / 0.5841 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008721/0.3489, allocations: 129.7 kB / 0.5842 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004768/0.3494, allocations: 100.5 kB / 0.5843 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of SimCode: time 5.71e-07/0.3494, allocations: 0 / 0.5843 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of Templates: time 0.2095/0.5589, allocations: 30.81 MB / 0.6144 GB, free: 164.2 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.093784524011426]