Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001365/0.001365, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.394/1.394, allocations: 222.9 MB / 240.1 MB, free: 4.332 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.001581/0.001581, allocations: 200.4 kB / 290.4 MB, free: 2.051 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.523/0.523, allocations: 91.89 MB / 432.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 75.03 kB / 0.5734 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1762, allocations: 71.28 MB / 0.643 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.009739/0.186, allocations: 7.993 MB / 0.6508 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006478/0.1925, allocations: 2.497 MB / 0.6533 GB, free: 9.031 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.1943, allocations: 12 kB / 0.6533 GB, free: 9.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.1955, allocations: 313.4 kB / 0.6536 GB, free: 8.711 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.1989, allocations: 0.9927 MB / 0.6545 GB, free: 7.715 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.201, allocations: 0.7691 MB / 0.6553 GB, free: 6.953 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003222/0.2042, allocations: 2.119 MB / 0.6574 GB, free: 4.828 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006744/0.2049, allocations: 377.6 kB / 0.6577 GB, free: 4.434 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.2063, allocations: 0.8521 MB / 0.6586 GB, free: 3.578 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.2077, allocations: 1.081 MB / 0.6596 GB, free: 2.492 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.208, allocations: 176 kB / 0.6598 GB, free: 2.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007772/0.2088, allocations: 351.8 kB / 0.6601 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.2092, allocations: 446.2 kB / 0.6605 GB, free: 1.539 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008238/0.2101, allocations: 0.8663 MB / 0.6614 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.2129, allocations: 2.168 MB / 0.6635 GB, free: 14.49 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.213, allocations: 0 / 0.6635 GB, free: 14.49 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.213, allocations: 0 / 0.6635 GB, free: 14.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.965e-05/0.213, allocations: 3.938 kB / 0.6635 GB, free: 14.49 MB / 478.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.01349/0.2265, allocations: 3.512 MB / 0.6669 GB, free: 10.92 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.2266, allocations: 8.031 kB / 0.6669 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004735/0.2313, allocations: 0.7394 MB / 0.6677 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.2339, allocations: 1.1 MB / 0.6687 GB, free: 9.016 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005402/0.2345, allocations: 417 kB / 0.6691 GB, free: 8.539 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/0.2348, allocations: 108 kB / 0.6692 GB, free: 8.434 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/0.2377, allocations: 1.372 MB / 0.6706 GB, free: 7.047 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.2377, allocations: 0 / 0.6706 GB, free: 7.047 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.2379, allocations: 36 kB / 0.6706 GB, free: 7.012 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.2379, allocations: 20 kB / 0.6706 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.2408, allocations: 1.3 MB / 0.6719 GB, free: 5.688 MB / 478.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.009666/0.2505, allocations: 4.649 MB / 0.6764 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008268/0.2588, allocations: 2.892 MB / 0.6793 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.2606, allocations: 0.9001 MB / 0.6801 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.2608, allocations: 20.91 kB / 0.6802 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/0.2629, allocations: 1.046 MB / 0.6812 GB, free: 11.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=124): time 3.657e-06/0.2629, allocations: 0 / 0.6812 GB, free: 11.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=124): time 0.04124/0.3041, allocations: 9.902 MB / 0.6909 GB, free: 1.852 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.3043, allocations: 119.8 kB / 0.691 GB, free: 1.711 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/0.307, allocations: 1.349 MB / 0.6923 GB, free: 356 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003178/0.3074, allocations: 57.64 kB / 0.6923 GB, free: 292 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/0.3078, allocations: 0.5686 MB / 0.6929 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005436/0.3084, allocations: 453.6 kB / 0.6933 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006046/0.309, allocations: 327.4 kB / 0.6936 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3091, allocations: 305.1 kB / 0.6939 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.3112, allocations: 0.9526 MB / 0.6949 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.3134, allocations: 1.155 MB / 0.696 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004168/0.3176, allocations: 2.05 MB / 0.698 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.3176, allocations: 0 / 0.698 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01017/0.3278, allocations: 3.823 MB / 0.7017 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.3278, allocations: 8 kB / 0.7017 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.3278, allocations: 7.938 kB / 0.7017 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009729/0.3376, allocations: 2.667 MB / 0.7043 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.3393, allocations: 299.6 kB / 0.7046 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006445/0.3458, allocations: 2.683 MB / 0.7073 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/0.3486, allocations: 254.3 kB / 0.7075 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.3488, allocations: 59.98 kB / 0.7076 GB, free: 0.5469 MB / 0.4981 GB 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.0007968/0.3496, allocations: 298.5 kB / 0.7078 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/0.3499, allocations: 154.1 kB / 0.708 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/0.3654, allocations: 4.759 MB / 0.7126 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/0.3655, allocations: 12 kB / 0.7126 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.3655, allocations: 3.938 kB / 0.7126 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-05/0.3655, allocations: 7.984 kB / 0.7127 GB, free: 11.28 MB / 0.5137 GB 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.01879/0.3843, allocations: 6.856 MB / 0.7193 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.3844, allocations: 4.031 kB / 0.7194 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009544/0.3853, allocations: 147.7 kB / 0.7195 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007308/0.3927, allocations: 2.138 MB / 0.7216 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002746/0.393, allocations: 24 kB / 0.7216 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02545/0.4184, allocations: 10.06 MB / 0.7314 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.4185, allocations: 3.938 kB / 0.7314 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/0.4368, allocations: 5.908 MB / 0.7372 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008918/0.4378, allocations: 266.8 kB / 0.7375 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003256/0.4381, allocations: 27.98 kB / 0.7375 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/0.4398, allocations: 139.8 kB / 0.7376 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009598/0.4407, allocations: 257.3 kB / 0.7379 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.4408, allocations: 35.98 kB / 0.7379 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001553/0.4424, allocations: 0.9095 MB / 0.7388 GB, free: 168 kB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4424, allocations: 4 kB / 0.7388 GB, free: 164 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001827/0.4443, allocations: 0.5152 MB / 0.7393 GB, free: 15.64 MB / 0.545 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,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.0004203/0.4447, allocations: 147 kB / 0.7394 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008585/0.4533, allocations: 2.821 MB / 0.7422 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.4533, allocations: 0 / 0.7422 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006013/0.4593, allocations: 1.907 MB / 0.7441 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.4607, allocations: 126.6 kB / 0.7442 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005613/0.4663, allocations: 2.982 MB / 0.7471 GB, free: 7.609 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/0.4671, allocations: 1.207 MB / 0.7483 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005401/0.4676, allocations: 99.41 kB / 0.7484 GB, free: 6.273 MB / 0.545 GB Notification: Performance of SimCode: time 1.112e-06/0.4676, allocations: 0 / 0.7484 GB, free: 6.273 MB / 0.545 GB Notification: Performance of Templates: time 0.3603/0.8279, allocations: 25.08 MB / 0.7729 GB, free: 117 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)