Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.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.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009963/0.0009962, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.284/1.284, allocations: 223.2 MB / 238.9 MB, free: 5.656 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.001227/0.001227, allocations: 189 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4298/0.4298, allocations: 78.53 MB / 419.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003514, allocations: 19.98 kB / 499.7 MB, free: 6.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1313, allocations: 69.36 MB / 0.5557 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.2172/0.3485, allocations: 4.243 MB / 0.5598 GB, free: 37.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.351, allocations: 1.568 MB / 0.5613 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003487/0.3514, allocations: 7.281 kB / 0.5614 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.3517, allocations: 118.6 kB / 0.5615 GB, free: 37.43 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001114/0.3528, allocations: 0.5573 MB / 0.562 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.3534, allocations: 331.2 kB / 0.5623 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000805/0.3543, allocations: 0.6738 MB / 0.563 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.3545, allocations: 173.6 kB / 0.5631 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003564/0.3549, allocations: 375.9 kB / 0.5635 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004444/0.3553, allocations: 483.1 kB / 0.564 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.564e-05/0.3554, allocations: 49.22 kB / 0.564 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.3558, allocations: 152.2 kB / 0.5642 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.3559, allocations: 161.7 kB / 0.5643 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.356, allocations: 171.1 kB / 0.5645 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007228/0.3568, allocations: 0.9213 MB / 0.5654 GB, free: 36.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3568, allocations: 2.438 kB / 0.5654 GB, free: 36.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3568, allocations: 0 / 0.5654 GB, free: 36.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.118e-06/0.3568, allocations: 0 / 0.5654 GB, free: 36.95 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004461/0.3613, allocations: 1.63 MB / 0.567 GB, free: 36.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3613, allocations: 11.69 kB / 0.567 GB, free: 36.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003329/0.3646, allocations: 0.5178 MB / 0.5675 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008857/0.3655, allocations: 0.6154 MB / 0.5681 GB, free: 35.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.3657, allocations: 150.4 kB / 0.5682 GB, free: 35.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.04e-05/0.3658, allocations: 50.44 kB / 0.5683 GB, free: 35.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.3669, allocations: 0.6893 MB / 0.569 GB, free: 35.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.367, allocations: 5.219 kB / 0.569 GB, free: 35.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.367, allocations: 20.69 kB / 0.569 GB, free: 35.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.367, allocations: 11.22 kB / 0.569 GB, free: 35.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.3682, allocations: 0.6628 MB / 0.5696 GB, free: 35.79 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.003716/0.3719, allocations: 2.784 MB / 0.5724 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01179/0.3837, allocations: 3.768 MB / 0.576 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.3838, allocations: 11.23 kB / 0.576 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.3839, allocations: 39.08 kB / 0.5761 GB, free: 34.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 4.068e-06/0.3839, allocations: 3.375 kB / 0.5761 GB, free: 34.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01192/0.3958, allocations: 4.214 MB / 0.5802 GB, free: 33.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.3959, allocations: 62.09 kB / 0.5803 GB, free: 33.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.397, allocations: 0.7548 MB / 0.581 GB, free: 32.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.3971, allocations: 36.73 kB / 0.581 GB, free: 32.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.3973, allocations: 353.4 kB / 0.5814 GB, free: 32.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.3975, allocations: 218.7 kB / 0.5816 GB, free: 32.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.3975, allocations: 16.28 kB / 0.5816 GB, free: 32.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.3976, allocations: 392.3 kB / 0.582 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009261/0.3986, allocations: 0.5291 MB / 0.5825 GB, free: 31.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009632/0.3995, allocations: 0.6249 MB / 0.5831 GB, free: 31.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.4006, allocations: 0.5745 MB / 0.5837 GB, free: 31.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.4006, allocations: 5.5 kB / 0.5837 GB, free: 31.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007034/0.4076, allocations: 2.725 MB / 0.5863 GB, free: 30.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.4077, allocations: 9.266 kB / 0.5863 GB, free: 30.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4077, allocations: 2.531 kB / 0.5863 GB, free: 30.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004172/0.4119, allocations: 1.208 MB / 0.5875 GB, free: 30.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000805/0.4127, allocations: 155.4 kB / 0.5877 GB, free: 30.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.4232, allocations: 6.551 MB / 0.5941 GB, free: 26.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.4244, allocations: 123.2 kB / 0.5942 GB, free: 26.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.4245, allocations: 37.55 kB / 0.5942 GB, free: 26.25 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.e2d:VARIABLE(start = G1.machine.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: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003529/0.4249, allocations: 216.5 kB / 0.5944 GB, free: 26.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.425, allocations: 81.56 kB / 0.5945 GB, free: 26.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006034/0.431, allocations: 2.29 MB / 0.5967 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.4311, allocations: 7 kB / 0.5967 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.4311, allocations: 9.422 kB / 0.5967 GB, free: 25.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.4311, allocations: 3.141 kB / 0.5968 GB, free: 25.4 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.007341/0.4384, allocations: 3.383 MB / 0.6001 GB, free: 24.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4385, allocations: 4 kB / 0.6001 GB, free: 24.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.4389, allocations: 59.61 kB / 0.6001 GB, free: 24.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003399/0.4423, allocations: 1.085 MB / 0.6012 GB, free: 23.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/0.4424, allocations: 16.17 kB / 0.6012 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008013/0.4504, allocations: 4.312 MB / 0.6054 GB, free: 21.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4505, allocations: 0 / 0.6054 GB, free: 21.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007191/0.4577, allocations: 2.896 MB / 0.6082 GB, free: 20.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/0.458, allocations: 181 kB / 0.6084 GB, free: 20.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.4582, allocations: 15.86 kB / 0.6084 GB, free: 20.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007374/0.4589, allocations: 72.08 kB / 0.6085 GB, free: 20.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/0.4593, allocations: 122.9 kB / 0.6086 GB, free: 20.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.4593, allocations: 11.42 kB / 0.6086 GB, free: 20.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006189/0.46, allocations: 0.5133 MB / 0.6091 GB, free: 20.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.46, allocations: 1.375 kB / 0.6091 GB, free: 20.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009437/0.4609, allocations: 296.5 kB / 0.6094 GB, free: 20.14 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002079/0.4611, allocations: 124.8 kB / 0.6095 GB, free: 20.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004389/0.4655, allocations: 2.001 MB / 0.6115 GB, free: 19.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4656, allocations: 0 / 0.6115 GB, free: 19.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.4681, allocations: 1.204 MB / 0.6126 GB, free: 18.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.4687, allocations: 46.09 kB / 0.6127 GB, free: 18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.471, allocations: 1.825 MB / 0.6145 GB, free: 16.35 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.4714, allocations: 0.9599 MB / 0.6154 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002562/0.4717, allocations: 67.77 kB / 0.6155 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.4718, allocations: 50.2 kB / 0.6155 GB, free: 15.38 MB / 430.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4718, allocations: 2.812 kB / 0.6155 GB, free: 15.38 MB / 430.1 MB Notification: Performance of Templates: time 0.01675/0.4886, allocations: 13.19 MB / 0.6284 GB, free: 2.914 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) Environment - environmentSimulation: