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/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/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/package.mo): time 0.08241/0.08241, allocations: 12.2 MB / 27.32 MB, free: 1.445 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.0009256/0.0009256, allocations: 116.8 kB / 30.83 MB, free: 4.715 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.276/1.276, allocations: 205.1 MB / 239.3 MB, free: 11.63 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.001293/0.001293, allocations: 192.5 kB / 289.5 MB, free: 15.97 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.453/0.453, allocations: 78.51 MB / 418 MB, free: 47.18 MB / 334.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.00226/0.00226, allocations: 127.8 kB / 498.2 MB, free: 4.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1547, allocations: 68.04 MB / 0.553 GB, free: 464 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.2601/0.4148, allocations: 8.357 MB / 0.5611 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00595/0.4208, allocations: 2.516 MB / 0.5636 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.4228, allocations: 12.81 kB / 0.5636 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.4241, allocations: 243.4 kB / 0.5638 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004155/0.4283, allocations: 1.093 MB / 0.5649 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.4303, allocations: 0.6165 MB / 0.5655 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.4346, allocations: 2.155 MB / 0.5676 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007248/0.4353, allocations: 337.7 kB / 0.5679 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.437, allocations: 0.7814 MB / 0.5687 GB, free: 33.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.4383, allocations: 1.034 MB / 0.5697 GB, free: 33.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002581/0.4386, allocations: 103 kB / 0.5698 GB, free: 33.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007324/0.4393, allocations: 274.9 kB / 0.5701 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.4396, allocations: 380.9 kB / 0.5704 GB, free: 32.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006482/0.4403, allocations: 0.7948 MB / 0.5712 GB, free: 32.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.442, allocations: 2.106 MB / 0.5733 GB, free: 31.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.442, allocations: 4 kB / 0.5733 GB, free: 31.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.442, allocations: 0 / 0.5733 GB, free: 31.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.247e-05/0.4421, allocations: 0 / 0.5733 GB, free: 31.52 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.01367/0.4558, allocations: 3.798 MB / 0.577 GB, free: 30.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4558, allocations: 15.39 kB / 0.577 GB, free: 30.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004544/0.4604, allocations: 0.7469 MB / 0.5777 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.463, allocations: 1.084 MB / 0.5788 GB, free: 29.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004098/0.4635, allocations: 423.8 kB / 0.5792 GB, free: 28.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.4637, allocations: 107.5 kB / 0.5793 GB, free: 28.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/0.4664, allocations: 1.368 MB / 0.5806 GB, free: 28.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.4665, allocations: 0 / 0.5806 GB, free: 28.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.4666, allocations: 36.88 kB / 0.5807 GB, free: 28.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.4666, allocations: 20.75 kB / 0.5807 GB, free: 28.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.4693, allocations: 1.301 MB / 0.582 GB, free: 27.76 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.007714/0.477, allocations: 4.687 MB / 0.5865 GB, free: 25.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007764/0.4848, allocations: 2.885 MB / 0.5893 GB, free: 23.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.4867, allocations: 0.9004 MB / 0.5902 GB, free: 23.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.4868, allocations: 24.83 kB / 0.5902 GB, free: 23.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001947/0.4888, allocations: 1.045 MB / 0.5913 GB, free: 23.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 3.026e-06/0.4888, allocations: 0 / 0.5913 GB, free: 23.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04277/0.5316, allocations: 9.905 MB / 0.6009 GB, free: 21.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/0.5317, allocations: 120.9 kB / 0.6011 GB, free: 21.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003262/0.535, allocations: 1.348 MB / 0.6024 GB, free: 20.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004737/0.5355, allocations: 59.7 kB / 0.6024 GB, free: 20.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.5359, allocations: 0.5634 MB / 0.603 GB, free: 20.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005322/0.5365, allocations: 454.3 kB / 0.6034 GB, free: 19.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006801/0.5371, allocations: 324 kB / 0.6037 GB, free: 19.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.066e-05/0.5372, allocations: 310.2 kB / 0.604 GB, free: 19.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.5395, allocations: 0.9487 MB / 0.6049 GB, free: 18.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/0.5417, allocations: 1.153 MB / 0.6061 GB, free: 18.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00419/0.5459, allocations: 2.053 MB / 0.6081 GB, free: 17.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.5459, allocations: 1.656 kB / 0.6081 GB, free: 17.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01049/0.5564, allocations: 3.821 MB / 0.6118 GB, free: 15.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.5565, allocations: 7.219 kB / 0.6118 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.5565, allocations: 6.594 kB / 0.6118 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009349/0.5658, allocations: 2.676 MB / 0.6144 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.5676, allocations: 295.5 kB / 0.6147 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005557/0.5731, allocations: 2.683 MB / 0.6173 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/0.5757, allocations: 246.3 kB / 0.6176 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.5759, allocations: 67.97 kB / 0.6176 GB, free: 10.54 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.0005762/0.5765, allocations: 290.3 kB / 0.6179 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.5767, allocations: 154 kB / 0.6181 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.5907, allocations: 4.757 MB / 0.6227 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/0.5908, allocations: 18.5 kB / 0.6227 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.5908, allocations: 0 / 0.6227 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.956e-05/0.5909, allocations: 7.969 kB / 0.6227 GB, free: 5.289 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.01818/0.6091, allocations: 6.868 MB / 0.6294 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.6092, allocations: 0 / 0.6294 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009971/0.6102, allocations: 143.8 kB / 0.6296 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007111/0.6173, allocations: 2.138 MB / 0.6317 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002325/0.6175, allocations: 27.98 kB / 0.6317 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02454/0.6421, allocations: 9.182 MB / 0.6407 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6421, allocations: 0 / 0.6407 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01843/0.6606, allocations: 5.922 MB / 0.6464 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006742/0.6613, allocations: 262.8 kB / 0.6467 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006326/0.6619, allocations: 28.88 kB / 0.6467 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/0.6641, allocations: 139.8 kB / 0.6469 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/0.6652, allocations: 245.3 kB / 0.6471 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/0.6654, allocations: 39.98 kB / 0.6471 GB, free: 11.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001819/0.6673, allocations: 0.9133 MB / 0.648 GB, free: 11.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6673, allocations: 0 / 0.648 GB, free: 11.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002151/0.6694, allocations: 0.5112 MB / 0.6485 GB, free: 10.54 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.0004506/0.6699, allocations: 145.1 kB / 0.6487 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009297/0.6792, allocations: 2.791 MB / 0.6514 GB, free: 7.609 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.6793, allocations: 0 / 0.6514 GB, free: 7.609 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006332/0.6856, allocations: 1.878 MB / 0.6532 GB, free: 5.719 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.6876, allocations: 133 kB / 0.6533 GB, free: 5.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006587/0.6943, allocations: 3.467 MB / 0.6567 GB, free: 2.094 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007683/0.6951, allocations: 1.203 MB / 0.6579 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007187/0.6958, allocations: 137.7 kB / 0.658 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.6961, allocations: 91.42 kB / 0.6581 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6962, allocations: 0 / 0.6581 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of Templates: time 0.04415/0.7403, allocations: 26.1 MB / 0.6836 GB, free: 6.559 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)