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.006227/0.006227, allocations: 169.9 kB / 15.12 MB, free: 5.559 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.442/1.442, allocations: 223.2 MB / 239 MB, free: 1.762 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.000822/0.000822, allocations: 92.97 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.4518/0.4518, allocations: 78.58 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 8 kB / 499.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3597, allocations: 69.35 MB / 0.5558 GB, free: 38.76 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004215/0.364, allocations: 4.247 MB / 0.5599 GB, free: 38.45 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003003/0.367, allocations: 1.563 MB / 0.5614 GB, free: 37.67 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005051/0.3675, allocations: 7.219 kB / 0.5614 GB, free: 37.67 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.3679, allocations: 118.1 kB / 0.5616 GB, free: 37.62 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.001271/0.3691, allocations: 0.5641 MB / 0.5621 GB, free: 37.24 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.3698, allocations: 342.1 kB / 0.5624 GB, free: 37.07 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007652/0.3706, allocations: 0.6685 MB / 0.5631 GB, free: 36.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.3709, allocations: 186.1 kB / 0.5633 GB, free: 36.6 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004048/0.3713, allocations: 373 kB / 0.5636 GB, free: 36.43 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005436/0.3719, allocations: 481.3 kB / 0.5641 GB, free: 36.23 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.641e-05/0.372, allocations: 44.28 kB / 0.5641 GB, free: 36.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.3724, allocations: 157.4 kB / 0.5643 GB, free: 36.2 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.3725, allocations: 166.1 kB / 0.5644 GB, free: 36.11 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.3726, allocations: 168.2 kB / 0.5646 GB, free: 35.99 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009237/0.3736, allocations: 0.924 MB / 0.5655 GB, free: 35.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.3736, allocations: 0 / 0.5655 GB, free: 35.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3736, allocations: 0 / 0.5655 GB, free: 35.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.3736, allocations: 0.9688 kB / 0.5655 GB, free: 35.73 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.004911/0.3785, allocations: 1.632 MB / 0.5671 GB, free: 34.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3786, allocations: 9.969 kB / 0.5671 GB, free: 34.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/0.3818, allocations: 0.5162 MB / 0.5676 GB, free: 34.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008682/0.3827, allocations: 0.6173 MB / 0.5682 GB, free: 34.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.3828, allocations: 147.8 kB / 0.5683 GB, free: 34.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.736e-05/0.3829, allocations: 54.28 kB / 0.5684 GB, free: 34.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.3842, allocations: 0.6902 MB / 0.5691 GB, free: 33.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3842, allocations: 0 / 0.5691 GB, free: 33.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/0.3843, allocations: 25.78 kB / 0.5691 GB, free: 33.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3843, allocations: 11.56 kB / 0.5691 GB, free: 33.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.3854, allocations: 0.6626 MB / 0.5698 GB, free: 33.73 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.003912/0.3894, allocations: 2.78 MB / 0.5725 GB, free: 32.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/0.402, allocations: 3.764 MB / 0.5761 GB, free: 31.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.4022, allocations: 9.219 kB / 0.5762 GB, free: 31.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.4022, allocations: 46.5 kB / 0.5762 GB, free: 31.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 2.514e-06/0.4022, allocations: 2.531 kB / 0.5762 GB, free: 31.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.01267/0.4149, allocations: 4.22 MB / 0.5803 GB, free: 30.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.415, allocations: 57.22 kB / 0.5804 GB, free: 30.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.4161, allocations: 0.7476 MB / 0.5811 GB, free: 29.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.111e-05/0.4162, allocations: 36.73 kB / 0.5811 GB, free: 29.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.4164, allocations: 360.1 kB / 0.5815 GB, free: 29.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.4166, allocations: 211.8 kB / 0.5817 GB, free: 29.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.4167, allocations: 21.25 kB / 0.5817 GB, free: 29.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.4168, allocations: 399.7 kB / 0.5821 GB, free: 29.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008981/0.4177, allocations: 0.5257 MB / 0.5826 GB, free: 28.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009412/0.4186, allocations: 0.6255 MB / 0.5832 GB, free: 28.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009883/0.4196, allocations: 0.5752 MB / 0.5838 GB, free: 28.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4196, allocations: 0 / 0.5838 GB, free: 28.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007025/0.4267, allocations: 2.729 MB / 0.5864 GB, free: 27.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.4267, allocations: 5.875 kB / 0.5864 GB, free: 27.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.4267, allocations: 4 kB / 0.5864 GB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004226/0.431, allocations: 1.214 MB / 0.5876 GB, free: 27.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007877/0.4318, allocations: 153.9 kB / 0.5878 GB, free: 27.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.4429, allocations: 6.541 MB / 0.5942 GB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.4443, allocations: 129.2 kB / 0.5943 GB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.178e-05/0.4444, allocations: 33.03 kB / 0.5943 GB, free: 23.19 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.0003982/0.4448, allocations: 220.5 kB / 0.5945 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.445, allocations: 77.19 kB / 0.5946 GB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006468/0.4514, allocations: 2.293 MB / 0.5968 GB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.4515, allocations: 9.594 kB / 0.5969 GB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4515, allocations: 4.312 kB / 0.5969 GB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.4515, allocations: 3.094 kB / 0.5969 GB, free: 22.34 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.007683/0.4592, allocations: 3.384 MB / 0.6002 GB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.4592, allocations: 1.156 kB / 0.6002 GB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.4597, allocations: 62.7 kB / 0.6002 GB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003428/0.4632, allocations: 1.09 MB / 0.6013 GB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.4633, allocations: 11.34 kB / 0.6013 GB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008873/0.4722, allocations: 4.313 MB / 0.6055 GB, free: 18.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4722, allocations: 0 / 0.6055 GB, free: 18.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007918/0.4801, allocations: 2.897 MB / 0.6083 GB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.4805, allocations: 185.3 kB / 0.6085 GB, free: 17.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.4806, allocations: 17.8 kB / 0.6085 GB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007657/0.4814, allocations: 72.23 kB / 0.6086 GB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/0.4818, allocations: 114.8 kB / 0.6087 GB, free: 17.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.4818, allocations: 15.59 kB / 0.6087 GB, free: 17.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006926/0.4825, allocations: 0.5147 MB / 0.6092 GB, free: 17.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4825, allocations: 0 / 0.6092 GB, free: 17.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00095/0.4835, allocations: 293.9 kB / 0.6095 GB, free: 17.05 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.0002071/0.4837, allocations: 127.6 kB / 0.6096 GB, free: 16.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004231/0.4879, allocations: 1.998 MB / 0.6116 GB, free: 15.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4879, allocations: 0 / 0.6116 GB, free: 15.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.4906, allocations: 1.205 MB / 0.6128 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.491, allocations: 53.64 kB / 0.6128 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.4932, allocations: 1.817 MB / 0.6146 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.4936, allocations: 0.961 MB / 0.6155 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002699/0.4939, allocations: 70.2 kB / 0.6156 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.494, allocations: 46.06 kB / 0.6156 GB, free: 11.68 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.494, allocations: 0 / 0.6156 GB, free: 11.68 MB / 426.7 MB Notification: Performance of Templates: time 0.01669/0.5107, allocations: 13.2 MB / 0.6285 GB, free: 14.92 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)