Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008943/0.0008947, allocations: 91.61 kB / 15.06 MB, free: 1.098 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: 223.3 MB / 239 MB, free: 5.426 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.001362/0.001362, allocations: 183.6 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4843/0.4843, allocations: 78.55 MB / 419.9 MB, free: 4.289 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003798, allocations: 12 kB / 499.8 MB, free: 6.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1585, allocations: 69.36 MB / 0.5558 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.3104/0.4689, allocations: 6.126 MB / 0.5618 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004479/0.4734, allocations: 1.952 MB / 0.5637 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.4745, allocations: 13.69 kB / 0.5637 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007687/0.4753, allocations: 172.8 kB / 0.5639 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.4776, allocations: 0.675 MB / 0.5645 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.4789, allocations: 0.5308 MB / 0.5651 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.4808, allocations: 1.48 MB / 0.5665 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004776/0.4813, allocations: 264.6 kB / 0.5668 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008539/0.4822, allocations: 0.5902 MB / 0.5673 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009704/0.4831, allocations: 0.7697 MB / 0.5681 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.4833, allocations: 65 kB / 0.5681 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005565/0.4839, allocations: 187.8 kB / 0.5683 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002999/0.4842, allocations: 267.9 kB / 0.5686 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002721/0.4845, allocations: 233 kB / 0.5688 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.4857, allocations: 1.29 MB / 0.5701 GB, free: 35.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4857, allocations: 0.6562 kB / 0.5701 GB, free: 35.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.4857, allocations: 0 / 0.5701 GB, free: 35.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.4857, allocations: 0 / 0.5701 GB, free: 35.79 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008211/0.4939, allocations: 2.604 MB / 0.5726 GB, free: 34.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.494, allocations: 8.75 kB / 0.5726 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004958/0.499, allocations: 0.7916 MB / 0.5734 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.501, allocations: 0.8774 MB / 0.5742 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.5013, allocations: 266.5 kB / 0.5745 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.5015, allocations: 85.16 kB / 0.5746 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.5037, allocations: 1.17 MB / 0.5757 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.5037, allocations: 0 / 0.5757 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.241e-05/0.5038, allocations: 29.25 kB / 0.5757 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.5038, allocations: 30.27 kB / 0.5758 GB, free: 33.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.5058, allocations: 1.056 MB / 0.5768 GB, free: 33.49 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.006357/0.5121, allocations: 4.004 MB / 0.5807 GB, free: 31.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007027/0.5192, allocations: 2.938 MB / 0.5836 GB, free: 30.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/0.521, allocations: 0.7564 MB / 0.5843 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.5212, allocations: 15.08 kB / 0.5843 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00173/0.5229, allocations: 0.8935 MB / 0.5852 GB, free: 29.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 6.432e-06/0.5229, allocations: 0 / 0.5852 GB, free: 29.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02981/0.5528, allocations: 8.617 MB / 0.5936 GB, free: 28.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.5529, allocations: 117.4 kB / 0.5937 GB, free: 28.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002704/0.5556, allocations: 1.132 MB / 0.5948 GB, free: 27.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003352/0.556, allocations: 50.39 kB / 0.5949 GB, free: 27.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004922/0.5565, allocations: 0.4929 MB / 0.5954 GB, free: 27.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006398/0.5571, allocations: 372.3 kB / 0.5957 GB, free: 26.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.5574, allocations: 30.09 kB / 0.5958 GB, free: 26.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5576, allocations: 366.1 kB / 0.5961 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.5596, allocations: 0.8541 MB / 0.5969 GB, free: 26.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.5618, allocations: 1.031 MB / 0.5979 GB, free: 25.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/0.564, allocations: 0.9803 MB / 0.5989 GB, free: 25.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/0.564, allocations: 1.188 kB / 0.5989 GB, free: 25.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01674/0.5808, allocations: 5.305 MB / 0.6041 GB, free: 23.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.338e-05/0.5809, allocations: 59.44 kB / 0.6041 GB, free: 23.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.5809, allocations: 3.344 kB / 0.6041 GB, free: 23.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007713/0.5887, allocations: 2.014 MB / 0.6061 GB, free: 23.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/0.5906, allocations: 298.8 kB / 0.6064 GB, free: 23.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02194/0.6125, allocations: 10.39 MB / 0.6165 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/0.6152, allocations: 242.6 kB / 0.6168 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004191/0.6156, allocations: 59.98 kB / 0.6168 GB, free: 15.13 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * 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 initialization (171): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.001139/0.6168, allocations: 303.1 kB / 0.6171 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005139/0.6173, allocations: 126.4 kB / 0.6172 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.629, allocations: 4.768 MB / 0.6219 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.6291, allocations: 12 kB / 0.6219 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/0.6291, allocations: 4 kB / 0.6219 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/0.6291, allocations: 5.672 kB / 0.6219 GB, free: 9.891 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.01413/0.6433, allocations: 6.389 MB / 0.6282 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.6433, allocations: 0 / 0.6282 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000707/0.644, allocations: 107.8 kB / 0.6283 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004967/0.649, allocations: 1.886 MB / 0.6301 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002309/0.6493, allocations: 23.95 kB / 0.6301 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01908/0.6684, allocations: 9.67 MB / 0.6396 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6684, allocations: 1.016 kB / 0.6396 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/0.6837, allocations: 5.702 MB / 0.6451 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006373/0.6844, allocations: 235.2 kB / 0.6454 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005339/0.6849, allocations: 31.95 kB / 0.6454 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.6864, allocations: 143.9 kB / 0.6455 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006994/0.6872, allocations: 192.7 kB / 0.6457 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.6873, allocations: 31.98 kB / 0.6457 GB, free: 1.047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001404/0.6887, allocations: 0.7595 MB / 0.6465 GB, free: 288 kB / 446.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6888, allocations: 0 / 0.6465 GB, free: 288 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.002234/0.691, allocations: 491.7 kB / 0.6469 GB, free: 15.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.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 (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003867/0.6914, allocations: 140.7 kB / 0.6471 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007164/0.6986, allocations: 3.002 MB / 0.65 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.6986, allocations: 0 / 0.65 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004387/0.703, allocations: 1.82 MB / 0.6518 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.7046, allocations: 117.3 kB / 0.6519 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.7096, allocations: 2.858 MB / 0.6547 GB, free: 7.812 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008458/0.7105, allocations: 1.132 MB / 0.6558 GB, free: 6.648 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005964/0.7111, allocations: 125.1 kB / 0.6559 GB, free: 6.527 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.7114, allocations: 80.81 kB / 0.656 GB, free: 6.449 MB / 462.1 MB Notification: Performance of SimCode: time 1.513e-06/0.7114, allocations: 0 / 0.656 GB, free: 6.449 MB / 462.1 MB Notification: Performance of Templates: time 0.04089/0.7523, allocations: 22.16 MB / 0.6776 GB, free: 468 kB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: