Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07345/0.07345, allocations: 12.6 MB / 28.9 MB, free: 0.7227 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009394/0.0009393, allocations: 115.5 kB / 32.51 MB, free: 3.656 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.1 MB / 241.1 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 188.4 kB / 291.4 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3954/0.3954, allocations: 78.51 MB / 420 MB, free: 10.77 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 139.8 kB / 0.5565 GB, free: 17.31 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1087, allocations: 68.12 MB / 0.6231 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.007559/0.1163, allocations: 8.029 MB / 0.6309 GB, free: 5.086 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004411/0.1208, allocations: 2.459 MB / 0.6333 GB, free: 2.617 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007508/0.1215, allocations: 12 kB / 0.6333 GB, free: 2.605 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008155/0.1224, allocations: 317.4 kB / 0.6336 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.1251, allocations: 1.192 MB / 0.6348 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.1264, allocations: 0.6707 MB / 0.6354 GB, free: 448 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002185/0.1286, allocations: 2.275 MB / 0.6377 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.1291, allocations: 377.5 kB / 0.638 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008129/0.1299, allocations: 0.8638 MB / 0.6389 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.1309, allocations: 1.109 MB / 0.6399 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.1312, allocations: 172 kB / 0.6401 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005908/0.1318, allocations: 359.8 kB / 0.6405 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.1321, allocations: 450.2 kB / 0.6409 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006392/0.1328, allocations: 0.8663 MB / 0.6417 GB, free: 9.953 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.1346, allocations: 2.188 MB / 0.6439 GB, free: 7.758 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1346, allocations: 0 / 0.6439 GB, free: 7.758 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1346, allocations: 0 / 0.6439 GB, free: 7.758 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.1346, allocations: 3.938 kB / 0.6439 GB, free: 7.754 MB / 462.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.01338/0.148, allocations: 3.805 MB / 0.6476 GB, free: 3.887 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1481, allocations: 11.98 kB / 0.6476 GB, free: 3.875 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004605/0.1527, allocations: 0.7395 MB / 0.6483 GB, free: 3.133 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.1545, allocations: 1.092 MB / 0.6494 GB, free: 1.988 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/0.1549, allocations: 421 kB / 0.6498 GB, free: 1.512 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/0.1552, allocations: 100 kB / 0.6499 GB, free: 1.414 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.1578, allocations: 1.368 MB / 0.6512 GB, free: 28 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1579, allocations: 0 / 0.6512 GB, free: 28 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.158, allocations: 40.06 kB / 0.6513 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.158, allocations: 24 kB / 0.6513 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.1607, allocations: 1.304 MB / 0.6526 GB, free: 14.66 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.007605/0.1683, allocations: 4.637 MB / 0.6571 GB, free: 9.809 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008085/0.1764, allocations: 2.889 MB / 0.6599 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.1783, allocations: 0.8996 MB / 0.6608 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.1785, allocations: 20.98 kB / 0.6608 GB, free: 5.848 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002114/0.1806, allocations: 1.054 MB / 0.6618 GB, free: 4.773 MB / 478.1 MB Notification: Performance of pre-optimization done (n=124): time 3.006e-06/0.1806, allocations: 0 / 0.6618 GB, free: 4.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=124): time 0.04082/0.2214, allocations: 9.906 MB / 0.6715 GB, free: 10.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.2215, allocations: 119.8 kB / 0.6716 GB, free: 10.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.2237, allocations: 1.349 MB / 0.6729 GB, free: 9.316 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000262/0.224, allocations: 53.64 kB / 0.673 GB, free: 9.258 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.2245, allocations: 0.5686 MB / 0.6735 GB, free: 8.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005434/0.225, allocations: 457.6 kB / 0.674 GB, free: 8.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000712/0.2257, allocations: 323.4 kB / 0.6743 GB, free: 7.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.2258, allocations: 309 kB / 0.6746 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.2279, allocations: 0.9526 MB / 0.6755 GB, free: 6.652 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/0.2301, allocations: 1.154 MB / 0.6766 GB, free: 5.457 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004144/0.2343, allocations: 2.05 MB / 0.6786 GB, free: 3.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.2343, allocations: 0 / 0.6786 GB, free: 3.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.2446/0.4788, allocations: 3.816 MB / 0.6824 GB, free: 52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.4789, allocations: 12.44 kB / 0.6824 GB, free: 52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.4789, allocations: 6.594 kB / 0.6824 GB, free: 52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00986/0.4888, allocations: 2.68 MB / 0.685 GB, free: 51.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.4903, allocations: 294.1 kB / 0.6853 GB, free: 51.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006236/0.4966, allocations: 2.688 MB / 0.6879 GB, free: 51.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.4987, allocations: 241.7 kB / 0.6881 GB, free: 51.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.4988, allocations: 63.47 kB / 0.6882 GB, free: 51.44 MB / 494.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.0005154/0.4994, allocations: 301.2 kB / 0.6885 GB, free: 51.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.4996, allocations: 154.2 kB / 0.6886 GB, free: 51.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01628/0.5159, allocations: 4.756 MB / 0.6933 GB, free: 50.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.516, allocations: 13.66 kB / 0.6933 GB, free: 50.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.516, allocations: 5.281 kB / 0.6933 GB, free: 50.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.779e-05/0.516, allocations: 6.094 kB / 0.6933 GB, free: 50.43 MB / 494.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.01717/0.5332, allocations: 6.858 MB / 0.7 GB, free: 48.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.5332, allocations: 0.9688 kB / 0.7 GB, free: 48.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.534, allocations: 142.2 kB / 0.7001 GB, free: 48.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006834/0.5409, allocations: 2.141 MB / 0.7022 GB, free: 47.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.541, allocations: 26.86 kB / 0.7023 GB, free: 47.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02196/0.563, allocations: 10.06 MB / 0.7121 GB, free: 41.53 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.563, allocations: 3.938 kB / 0.7121 GB, free: 41.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01571/0.5788, allocations: 5.902 MB / 0.7178 GB, free: 37.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/0.5792, allocations: 269.1 kB / 0.7181 GB, free: 37.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.5795, allocations: 24 kB / 0.7181 GB, free: 37.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.5809, allocations: 139.8 kB / 0.7183 GB, free: 37.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006445/0.5816, allocations: 265.2 kB / 0.7185 GB, free: 37.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/0.5816, allocations: 38.28 kB / 0.7186 GB, free: 37.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001072/0.5827, allocations: 0.9095 MB / 0.7194 GB, free: 36.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5827, allocations: 0 / 0.7194 GB, free: 36.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001105/0.5838, allocations: 0.5125 MB / 0.7199 GB, free: 35.72 MB / 494.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.000255/0.5841, allocations: 155.2 kB / 0.7201 GB, free: 35.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007304/0.5914, allocations: 2.81 MB / 0.7228 GB, free: 32.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5914, allocations: 0 / 0.7228 GB, free: 32.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005351/0.5968, allocations: 1.907 MB / 0.7247 GB, free: 30.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.598, allocations: 127.2 kB / 0.7248 GB, free: 30.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.6023, allocations: 2.995 MB / 0.7277 GB, free: 27.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.6027, allocations: 1.202 MB / 0.7289 GB, free: 26.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.603, allocations: 103.4 kB / 0.729 GB, free: 26.39 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.603, allocations: 0 / 0.729 GB, free: 26.39 MB / 494.1 MB Notification: Performance of Templates: time 0.02094/0.624, allocations: 25.32 MB / 0.7537 GB, free: 1.062 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)