Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001583, allocations: 117.8 kB / 16.37 MB, free: 6 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.456/1.456, allocations: 222.9 MB / 240 MB, free: 4.492 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.001296/0.001296, allocations: 192.2 kB / 290.3 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4373/0.4373, allocations: 78.53 MB / 419 MB, free: 3.113 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 75.88 kB / 498.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1172, allocations: 68.17 MB / 0.5538 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.1989/0.3162, allocations: 7.959 MB / 0.5616 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004529/0.3208, allocations: 2.495 MB / 0.564 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.322, allocations: 12.31 kB / 0.564 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008017/0.3228, allocations: 313 kB / 0.5643 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002503/0.3253, allocations: 1.199 MB / 0.5655 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.3266, allocations: 0.6695 MB / 0.5661 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001881/0.3285, allocations: 2.27 MB / 0.5684 GB, free: 33.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004384/0.3289, allocations: 381.7 kB / 0.5687 GB, free: 33.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000817/0.3298, allocations: 0.8584 MB / 0.5696 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000955/0.3307, allocations: 1.107 MB / 0.5706 GB, free: 33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.331, allocations: 172.4 kB / 0.5708 GB, free: 33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005451/0.3315, allocations: 351.7 kB / 0.5711 GB, free: 32.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002759/0.3318, allocations: 454.8 kB / 0.5716 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005705/0.3324, allocations: 0.8675 MB / 0.5724 GB, free: 32.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.334, allocations: 2.193 MB / 0.5746 GB, free: 32.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.334, allocations: 0 / 0.5746 GB, free: 32.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.334, allocations: 0.7812 kB / 0.5746 GB, free: 32.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.324e-05/0.334, allocations: 0 / 0.5746 GB, free: 32.11 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01295/0.347, allocations: 3.805 MB / 0.5783 GB, free: 31.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.347, allocations: 8.438 kB / 0.5783 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004872/0.3519, allocations: 0.7434 MB / 0.579 GB, free: 30.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.3538, allocations: 1.095 MB / 0.5801 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/0.3541, allocations: 424.5 kB / 0.5805 GB, free: 29.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.3544, allocations: 97.81 kB / 0.5806 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.3567, allocations: 1.369 MB / 0.5819 GB, free: 29.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.3568, allocations: 0.5625 kB / 0.5819 GB, free: 29.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.3569, allocations: 37.38 kB / 0.5819 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.3569, allocations: 20.72 kB / 0.582 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.3594, allocations: 1.305 MB / 0.5832 GB, free: 28.97 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.007435/0.3669, allocations: 4.651 MB / 0.5878 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007596/0.3745, allocations: 2.893 MB / 0.5906 GB, free: 25.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.3764, allocations: 0.9003 MB / 0.5915 GB, free: 24.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.3765, allocations: 27.2 kB / 0.5915 GB, free: 24.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002006/0.3785, allocations: 1.045 MB / 0.5925 GB, free: 24.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 2.915e-06/0.3785, allocations: 3.938 kB / 0.5925 GB, free: 24.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.041/0.4196, allocations: 9.902 MB / 0.6022 GB, free: 22.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.4197, allocations: 121.2 kB / 0.6023 GB, free: 22.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.4219, allocations: 1.347 MB / 0.6036 GB, free: 22.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004337/0.4224, allocations: 51.23 kB / 0.6037 GB, free: 21.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.4227, allocations: 0.5671 MB / 0.6042 GB, free: 21.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004206/0.4232, allocations: 454.6 kB / 0.6047 GB, free: 21.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005754/0.4237, allocations: 323.6 kB / 0.605 GB, free: 20.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.4238, allocations: 312.1 kB / 0.6053 GB, free: 20.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/0.4257, allocations: 0.9529 MB / 0.6062 GB, free: 20.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.4278, allocations: 1.152 MB / 0.6073 GB, free: 19.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003847/0.4317, allocations: 2.048 MB / 0.6093 GB, free: 18.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.4317, allocations: 1.219 kB / 0.6093 GB, free: 18.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009255/0.441, allocations: 3.813 MB / 0.6131 GB, free: 16.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.441, allocations: 8.125 kB / 0.6131 GB, free: 16.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4411, allocations: 8.062 kB / 0.6131 GB, free: 16.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008578/0.4496, allocations: 2.682 MB / 0.6157 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.4512, allocations: 300.3 kB / 0.616 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005196/0.4564, allocations: 2.691 MB / 0.6186 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.4585, allocations: 242.3 kB / 0.6188 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.4587, allocations: 67.97 kB / 0.6189 GB, free: 11.59 MB / 430.1 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 (174): * Single equations (assignments): 173 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0004986/0.4592, allocations: 289.5 kB / 0.6192 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.4594, allocations: 154.1 kB / 0.6193 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/0.4726, allocations: 4.76 MB / 0.624 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.4727, allocations: 13.25 kB / 0.624 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4727, allocations: 7.984 kB / 0.624 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/0.4727, allocations: 3.984 kB / 0.624 GB, free: 6.336 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 postOpt removeSimpleEquations (simulation): time 0.01564/0.4884, allocations: 6.856 MB / 0.6307 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.4884, allocations: 1.969 kB / 0.6307 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/0.4893, allocations: 144.8 kB / 0.6308 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006924/0.4962, allocations: 2.143 MB / 0.6329 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/0.4964, allocations: 24 kB / 0.633 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02374/0.5202, allocations: 10.07 MB / 0.6428 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.5202, allocations: 0.9375 kB / 0.6428 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/0.5372, allocations: 5.916 MB / 0.6486 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006165/0.5378, allocations: 266.8 kB / 0.6488 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.5381, allocations: 24 kB / 0.6488 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/0.5396, allocations: 136.8 kB / 0.649 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007936/0.5404, allocations: 261.3 kB / 0.6492 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.5405, allocations: 35.98 kB / 0.6493 GB, free: 12.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001336/0.5418, allocations: 0.9134 MB / 0.6501 GB, free: 11.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5419, allocations: 0 / 0.6501 GB, free: 11.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001399/0.5433, allocations: 0.5074 MB / 0.6506 GB, free: 10.71 MB / 462.1 MB 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,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.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 (81): * Single equations (assignments): 80 * 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.0003179/0.5436, allocations: 144.2 kB / 0.6508 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008042/0.5516, allocations: 2.821 MB / 0.6535 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5517, allocations: 256 / 0.6535 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005814/0.5575, allocations: 1.919 MB / 0.6554 GB, free: 5.816 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.5586, allocations: 134.6 kB / 0.6555 GB, free: 5.684 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/0.5637, allocations: 2.917 MB / 0.6584 GB, free: 2.801 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006872/0.5644, allocations: 1.215 MB / 0.6596 GB, free: 1.555 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005105/0.5649, allocations: 139.3 kB / 0.6597 GB, free: 1.418 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.5652, allocations: 91.42 kB / 0.6598 GB, free: 1.328 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5652, allocations: 0 / 0.6598 GB, free: 1.328 MB / 462.1 MB Notification: Performance of Templates: time 0.04203/0.6073, allocations: 29.13 MB / 0.6882 GB, free: 4.355 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)