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.09165/0.09165, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.361/1.361, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001443/0.001443, allocations: 192.5 kB / 290.5 MB, free: 13.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4961/0.4961, allocations: 78.49 MB / 419.1 MB, free: 11.35 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.002872/0.002872, allocations: 133 kB / 499.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3773, allocations: 68.11 MB / 0.5546 GB, free: 32.7 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.008247/0.3856, allocations: 8.024 MB / 0.5624 GB, free: 26.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005741/0.3914, allocations: 2.469 MB / 0.5648 GB, free: 24.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.3933, allocations: 13.06 kB / 0.5648 GB, free: 24.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.3945, allocations: 312.7 kB / 0.5651 GB, free: 24.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003544/0.398, allocations: 1.195 MB / 0.5663 GB, free: 23.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.3995, allocations: 0.6762 MB / 0.567 GB, free: 23.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002967/0.4025, allocations: 2.269 MB / 0.5692 GB, free: 21.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005957/0.4031, allocations: 368 kB / 0.5695 GB, free: 21.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.4042, allocations: 0.8589 MB / 0.5704 GB, free: 20.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.4053, allocations: 1.106 MB / 0.5714 GB, free: 20.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003036/0.4057, allocations: 173.8 kB / 0.5716 GB, free: 20.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007862/0.4064, allocations: 350 kB / 0.5719 GB, free: 20.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003208/0.4068, allocations: 456.9 kB / 0.5724 GB, free: 19.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006752/0.4075, allocations: 0.8712 MB / 0.5732 GB, free: 19.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.4095, allocations: 2.164 MB / 0.5753 GB, free: 17.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.4096, allocations: 1.438 kB / 0.5753 GB, free: 17.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4096, allocations: 0 / 0.5753 GB, free: 17.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.684e-05/0.4096, allocations: 0 / 0.5753 GB, free: 17.42 MB / 398.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.01347/0.4231, allocations: 3.8 MB / 0.5791 GB, free: 14.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4231, allocations: 15.98 kB / 0.5791 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004336/0.4275, allocations: 0.7393 MB / 0.5798 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.4291, allocations: 1.104 MB / 0.5809 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/0.4295, allocations: 421 kB / 0.5813 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.4296, allocations: 104 kB / 0.5814 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.432, allocations: 1.364 MB / 0.5827 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.432, allocations: 0 / 0.5827 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.4321, allocations: 40 kB / 0.5827 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.4321, allocations: 28 kB / 0.5828 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.4346, allocations: 1.3 MB / 0.584 GB, free: 9.09 MB / 398.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.006782/0.4414, allocations: 4.665 MB / 0.5886 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007464/0.4489, allocations: 2.893 MB / 0.5914 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.4505, allocations: 0.9034 MB / 0.5923 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.4506, allocations: 24.92 kB / 0.5923 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002035/0.4526, allocations: 1.042 MB / 0.5933 GB, free: 15.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.376e-06/0.4527, allocations: 0 / 0.5933 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.04228/0.495, allocations: 9.909 MB / 0.603 GB, free: 5.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.4951, allocations: 119.8 kB / 0.6031 GB, free: 5.086 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.4973, allocations: 1.341 MB / 0.6044 GB, free: 3.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002751/0.4976, allocations: 49.7 kB / 0.6045 GB, free: 3.676 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.4981, allocations: 0.5725 MB / 0.605 GB, free: 3.098 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005245/0.4986, allocations: 453.6 kB / 0.6055 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005991/0.4992, allocations: 327.4 kB / 0.6058 GB, free: 2.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.4993, allocations: 305.1 kB / 0.6061 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.5015, allocations: 0.9526 MB / 0.607 GB, free: 1.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/0.5038, allocations: 1.155 MB / 0.6081 GB, free: 15.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/0.5081, allocations: 2.05 MB / 0.6101 GB, free: 13.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.5081, allocations: 0 / 0.6101 GB, free: 13.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01022/0.5183, allocations: 3.819 MB / 0.6139 GB, free: 9.938 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.5184, allocations: 4.312 kB / 0.6139 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.5184, allocations: 11.94 kB / 0.6139 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009661/0.5281, allocations: 2.679 MB / 0.6165 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.5297, allocations: 295.6 kB / 0.6168 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006453/0.5361, allocations: 2.689 MB / 0.6194 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.5386, allocations: 254.3 kB / 0.6197 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.5388, allocations: 59.98 kB / 0.6197 GB, free: 3.934 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.0005964/0.5394, allocations: 289.5 kB / 0.62 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/0.5397, allocations: 158.1 kB / 0.6201 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/0.5558, allocations: 4.755 MB / 0.6248 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-05/0.5559, allocations: 16 kB / 0.6248 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.5559, allocations: 0 / 0.6248 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.674e-05/0.5559, allocations: 3.984 kB / 0.6248 GB, free: 14.69 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.01898/0.5749, allocations: 6.872 MB / 0.6315 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.575, allocations: 3.938 kB / 0.6315 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009084/0.5759, allocations: 143.7 kB / 0.6317 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007595/0.5835, allocations: 2.146 MB / 0.6337 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002701/0.5838, allocations: 28 kB / 0.6338 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02592/0.6097, allocations: 10.07 MB / 0.6436 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.6098, allocations: 4 kB / 0.6436 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01905/0.6288, allocations: 5.907 MB / 0.6494 GB, free: 5.184 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007529/0.6296, allocations: 266.8 kB / 0.6496 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/0.63, allocations: 28 kB / 0.6497 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/0.6316, allocations: 135.8 kB / 0.6498 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008351/0.6324, allocations: 257.3 kB / 0.65 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.54e-05/0.6325, allocations: 35.98 kB / 0.6501 GB, free: 4.453 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001477/0.634, allocations: 0.9173 MB / 0.651 GB, free: 3.535 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.634, allocations: 0 / 0.651 GB, free: 3.535 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001515/0.6355, allocations: 0.5073 MB / 0.6515 GB, free: 3.027 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.0004266/0.636, allocations: 156.7 kB / 0.6516 GB, free: 2.871 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009964/0.6459, allocations: 2.856 MB / 0.6544 GB, free: 12 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/0.646, allocations: 0 / 0.6544 GB, free: 12 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006751/0.6528, allocations: 1.92 MB / 0.6563 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.6546, allocations: 129 kB / 0.6564 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006661/0.6613, allocations: 2.982 MB / 0.6593 GB, free: 10.94 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000743/0.662, allocations: 1.204 MB / 0.6605 GB, free: 9.703 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007482/0.6628, allocations: 133.7 kB / 0.6606 GB, free: 9.57 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.6631, allocations: 95.42 kB / 0.6607 GB, free: 9.477 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6631, allocations: 0 / 0.6607 GB, free: 9.477 MB / 478.1 MB Notification: Performance of Templates: time 0.04795/0.7111, allocations: 29.12 MB / 0.6891 GB, free: 12.36 MB / 0.4981 GB 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)