Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01028/0.01028, allocations: 170.8 kB / 15.12 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.2 MB / 239 MB, free: 1.773 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000848/0.000848, allocations: 108.4 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4194/0.4194, allocations: 78.58 MB / 419.9 MB, free: 44.19 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003266, allocations: 8 kB / 499.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3157, allocations: 69.35 MB / 0.5558 GB, free: 38.81 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004837/0.3206, allocations: 5.802 MB / 0.5614 GB, free: 37.72 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003692/0.3243, allocations: 1.977 MB / 0.5634 GB, free: 36.32 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000964/0.3253, allocations: 10.88 kB / 0.5634 GB, free: 36.32 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007151/0.326, allocations: 173.7 kB / 0.5635 GB, free: 36.24 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.3279, allocations: 0.7319 MB / 0.5643 GB, free: 35.76 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.3291, allocations: 0.5271 MB / 0.5648 GB, free: 35.51 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.3304, allocations: 1.022 MB / 0.5658 GB, free: 34.96 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.3308, allocations: 260.7 kB / 0.566 GB, free: 34.85 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000782/0.3316, allocations: 0.5818 MB / 0.5666 GB, free: 34.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007284/0.3323, allocations: 0.7434 MB / 0.5673 GB, free: 34.27 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.3325, allocations: 62.94 kB / 0.5674 GB, free: 34.27 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.3329, allocations: 170.7 kB / 0.5675 GB, free: 34.24 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.3331, allocations: 265.2 kB / 0.5678 GB, free: 34.09 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.3333, allocations: 230.8 kB / 0.568 GB, free: 33.95 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008847/0.3342, allocations: 1.23 MB / 0.5692 GB, free: 33.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.3342, allocations: 0 / 0.5692 GB, free: 33.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3342, allocations: 0 / 0.5692 GB, free: 33.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.3342, allocations: 0 / 0.5692 GB, free: 33.59 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008296/0.3425, allocations: 2.572 MB / 0.5717 GB, free: 32.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3426, allocations: 10.78 kB / 0.5717 GB, free: 32.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/0.3475, allocations: 0.7897 MB / 0.5725 GB, free: 32.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.349, allocations: 0.8632 MB / 0.5733 GB, free: 31.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.3493, allocations: 271.4 kB / 0.5736 GB, free: 31.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.3495, allocations: 86.97 kB / 0.5737 GB, free: 31.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.3515, allocations: 1.143 MB / 0.5748 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.3515, allocations: 0 / 0.5748 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-05/0.3516, allocations: 40.83 kB / 0.5748 GB, free: 31.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.3516, allocations: 21.67 kB / 0.5749 GB, free: 31.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.3535, allocations: 1.062 MB / 0.5759 GB, free: 30.67 MB / 426.7 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.005794/0.3593, allocations: 4.159 MB / 0.58 GB, free: 28.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007202/0.3665, allocations: 2.924 MB / 0.5828 GB, free: 27.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.841e-05/0.3666, allocations: 20.33 kB / 0.5828 GB, free: 27.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/0.3681, allocations: 0.8778 MB / 0.5837 GB, free: 26.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 2.825e-06/0.3681, allocations: 4 kB / 0.5837 GB, free: 26.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02867/0.3968, allocations: 8.79 MB / 0.5923 GB, free: 25.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.3968, allocations: 114.3 kB / 0.5924 GB, free: 25.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.3984, allocations: 1.112 MB / 0.5935 GB, free: 24.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002426/0.3987, allocations: 45.89 kB / 0.5935 GB, free: 24.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.3989, allocations: 0.4976 MB / 0.594 GB, free: 24.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.3993, allocations: 360 kB / 0.5943 GB, free: 24.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.3994, allocations: 34.69 kB / 0.5944 GB, free: 24.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.3995, allocations: 366.6 kB / 0.5947 GB, free: 23.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.4011, allocations: 0.8374 MB / 0.5955 GB, free: 23.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.4029, allocations: 1.006 MB / 0.5965 GB, free: 22.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.4047, allocations: 0.9791 MB / 0.5975 GB, free: 22.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.4047, allocations: 9.141 kB / 0.5975 GB, free: 22.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0145/0.4192, allocations: 5.197 MB / 0.6026 GB, free: 21.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.4193, allocations: 58.23 kB / 0.6026 GB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.4193, allocations: 3.5 kB / 0.6026 GB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006743/0.4261, allocations: 1.926 MB / 0.6045 GB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/0.4278, allocations: 315.5 kB / 0.6048 GB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01976/0.4476, allocations: 9.416 MB / 0.614 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.4496, allocations: 234.7 kB / 0.6142 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.4497, allocations: 59.97 kB / 0.6143 GB, free: 13.86 MB / 426.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-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 (168): * Single equations (assignments): 165 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005121/0.4502, allocations: 310.3 kB / 0.6146 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.4504, allocations: 130.4 kB / 0.6147 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/0.4626, allocations: 4.737 MB / 0.6193 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.4626, allocations: 12 kB / 0.6193 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4626, allocations: 11.94 kB / 0.6194 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.4626, allocations: 7.969 kB / 0.6194 GB, free: 8.613 MB / 426.7 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.01392/0.4766, allocations: 6.409 MB / 0.6256 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4766, allocations: 0 / 0.6256 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005736/0.4772, allocations: 107.9 kB / 0.6257 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005249/0.4824, allocations: 1.876 MB / 0.6276 GB, free: 96 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.4825, allocations: 20 kB / 0.6276 GB, free: 76 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02064/0.5032, allocations: 10.15 MB / 0.6375 GB, free: 5.648 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5032, allocations: 0 / 0.6375 GB, free: 5.648 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01561/0.5188, allocations: 5.683 MB / 0.643 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/0.5193, allocations: 227.2 kB / 0.6432 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.5196, allocations: 20 kB / 0.6433 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.521, allocations: 147.9 kB / 0.6434 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005174/0.5215, allocations: 196.6 kB / 0.6436 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-05/0.5216, allocations: 32 kB / 0.6436 GB, free: 15.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001107/0.5227, allocations: 0.7475 MB / 0.6444 GB, free: 14.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5227, allocations: 0 / 0.6444 GB, free: 14.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001429/0.5242, allocations: 483.7 kB / 0.6448 GB, free: 14.07 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002598/0.5244, allocations: 144.4 kB / 0.645 GB, free: 13.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006648/0.5311, allocations: 2.845 MB / 0.6477 GB, free: 11.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5311, allocations: 0 / 0.6477 GB, free: 11.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004526/0.5356, allocations: 1.792 MB / 0.6495 GB, free: 9.215 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007072/0.5364, allocations: 92.53 kB / 0.6496 GB, free: 9.121 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.5407, allocations: 2.801 MB / 0.6523 GB, free: 6.305 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/0.5413, allocations: 1.151 MB / 0.6534 GB, free: 5.117 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004821/0.5418, allocations: 124.1 kB / 0.6536 GB, free: 4.992 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.5421, allocations: 79.41 kB / 0.6536 GB, free: 4.918 MB / 458.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5421, allocations: 0 / 0.6536 GB, free: 4.918 MB / 458.7 MB Notification: Performance of Templates: time 0.03314/0.5753, allocations: 21.67 MB / 0.6748 GB, free: 15.25 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)