Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.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.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009404/0.0009408, allocations: 179.6 kB / 15.78 MB, free: 6.348 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.367/1.367, allocations: 223.3 MB / 239.8 MB, free: 1.719 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.0007918/0.0007922, allocations: 106.9 kB / 290.9 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5463/0.5463, allocations: 78.61 MB / 420.7 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004689, allocations: 12 kB / 0.4888 GB, free: 2.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4694, allocations: 69.37 MB / 0.5565 GB, free: 38.7 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005262/0.4747, allocations: 4.469 MB / 0.5609 GB, free: 38.26 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004081/0.4788, allocations: 1.548 MB / 0.5624 GB, free: 37.45 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008247/0.4797, allocations: 9.25 kB / 0.5624 GB, free: 37.45 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.4802, allocations: 117.2 kB / 0.5625 GB, free: 37.4 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001822/0.4821, allocations: 0.5132 MB / 0.563 GB, free: 37.06 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.4831, allocations: 332.8 kB / 0.5633 GB, free: 36.89 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.4847, allocations: 0.9636 MB / 0.5643 GB, free: 36.39 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004962/0.4852, allocations: 181.1 kB / 0.5644 GB, free: 36.3 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000834/0.4861, allocations: 371.3 kB / 0.5648 GB, free: 36.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008489/0.4869, allocations: 492.5 kB / 0.5653 GB, free: 35.94 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.4871, allocations: 45.06 kB / 0.5653 GB, free: 35.94 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006969/0.4878, allocations: 167.1 kB / 0.5655 GB, free: 35.9 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.4881, allocations: 170.5 kB / 0.5656 GB, free: 35.8 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.4883, allocations: 163.8 kB / 0.5658 GB, free: 35.7 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.4895, allocations: 0.9571 MB / 0.5667 GB, free: 35.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4895, allocations: 1.219 kB / 0.5667 GB, free: 35.42 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4895, allocations: 0 / 0.5667 GB, free: 35.42 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.4895, allocations: 0 / 0.5667 GB, free: 35.42 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.005284/0.4948, allocations: 1.634 MB / 0.5683 GB, free: 34.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4948, allocations: 8.719 kB / 0.5683 GB, free: 34.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/0.4983, allocations: 0.5186 MB / 0.5688 GB, free: 34.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.4994, allocations: 0.6166 MB / 0.5694 GB, free: 34.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.4995, allocations: 150 kB / 0.5696 GB, free: 33.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.4997, allocations: 51.22 kB / 0.5696 GB, free: 33.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.501, allocations: 0.6927 MB / 0.5703 GB, free: 33.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.5011, allocations: 4 kB / 0.5703 GB, free: 33.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/0.5011, allocations: 18.97 kB / 0.5703 GB, free: 33.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.5011, allocations: 11.97 kB / 0.5703 GB, free: 33.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.5024, allocations: 0.665 MB / 0.571 GB, free: 33.42 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.004782/0.5072, allocations: 2.679 MB / 0.5736 GB, free: 31.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01328/0.5205, allocations: 3.759 MB / 0.5773 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.5215, allocations: 490.2 kB / 0.5777 GB, free: 31.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.873e-05/0.5216, allocations: 10.52 kB / 0.5778 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.5217, allocations: 43.28 kB / 0.5778 GB, free: 31.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 2.665e-06/0.5217, allocations: 0 / 0.5778 GB, free: 31.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.01338/0.5351, allocations: 4.226 MB / 0.5819 GB, free: 29.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.5351, allocations: 57.22 kB / 0.582 GB, free: 29.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.5364, allocations: 0.752 MB / 0.5827 GB, free: 29.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.5365, allocations: 36.67 kB / 0.5827 GB, free: 29.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.5367, allocations: 355 kB / 0.5831 GB, free: 29.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.5369, allocations: 216.3 kB / 0.5833 GB, free: 29.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.537, allocations: 18.34 kB / 0.5833 GB, free: 29.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.5371, allocations: 398.7 kB / 0.5837 GB, free: 28.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009823/0.5381, allocations: 0.5219 MB / 0.5842 GB, free: 28.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.5391, allocations: 0.6317 MB / 0.5848 GB, free: 28.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.5402, allocations: 0.5762 MB / 0.5854 GB, free: 27.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5402, allocations: 0 / 0.5854 GB, free: 27.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007585/0.5478, allocations: 2.72 MB / 0.588 GB, free: 27.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5479, allocations: 9.812 kB / 0.588 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.5479, allocations: 7.156 kB / 0.588 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004733/0.5526, allocations: 1.219 MB / 0.5892 GB, free: 26.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009729/0.5536, allocations: 151.6 kB / 0.5894 GB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.5656, allocations: 6.337 MB / 0.5956 GB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.5672, allocations: 120.9 kB / 0.5957 GB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/0.5674, allocations: 32.52 kB / 0.5957 GB, free: 22.88 MB / 426.7 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.0004974/0.5679, allocations: 226.6 kB / 0.5959 GB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.568, allocations: 80.59 kB / 0.596 GB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006805/0.5748, allocations: 2.29 MB / 0.5982 GB, free: 22.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.5749, allocations: 13.8 kB / 0.5983 GB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.5749, allocations: 4.125 kB / 0.5983 GB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.5749, allocations: 4.359 kB / 0.5983 GB, free: 22.02 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.00861/0.5835, allocations: 3.382 MB / 0.6016 GB, free: 20.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.5836, allocations: 0 / 0.6016 GB, free: 20.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.5841, allocations: 65.2 kB / 0.6016 GB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003846/0.5879, allocations: 1.079 MB / 0.6027 GB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.619e-05/0.5881, allocations: 19.8 kB / 0.6027 GB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009135/0.5972, allocations: 4.125 MB / 0.6067 GB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5972, allocations: 4 kB / 0.6067 GB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008627/0.6059, allocations: 2.898 MB / 0.6096 GB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005344/0.6065, allocations: 186.6 kB / 0.6097 GB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.6066, allocations: 11.78 kB / 0.6098 GB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008322/0.6074, allocations: 67.97 kB / 0.6098 GB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004389/0.6079, allocations: 119 kB / 0.6099 GB, free: 17.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/0.6079, allocations: 14.84 kB / 0.61 GB, free: 17.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008442/0.6088, allocations: 0.5189 MB / 0.6105 GB, free: 16.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6088, allocations: 0 / 0.6105 GB, free: 16.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001323/0.6101, allocations: 292.8 kB / 0.6107 GB, free: 16.81 MB / 426.7 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.0002577/0.6104, allocations: 123.7 kB / 0.6109 GB, free: 16.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004704/0.6151, allocations: 2.009 MB / 0.6128 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.6151, allocations: 0 / 0.6128 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003067/0.6182, allocations: 1.204 MB / 0.614 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.619, allocations: 68.58 kB / 0.6141 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.6217, allocations: 1.845 MB / 0.6159 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.6222, allocations: 0.9445 MB / 0.6168 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.6225, allocations: 55.14 kB / 0.6168 GB, free: 11.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/0.6225, allocations: 4 kB / 0.6168 GB, free: 11.21 MB / 426.7 MB Notification: Performance of Templates: time 0.02422/0.6467, allocations: 21.98 MB / 0.6383 GB, free: 5.629 MB / 442.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)