Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07186/0.07186, allocations: 12.2 MB / 27.32 MB, free: 1.441 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009465/0.0009466, allocations: 119.4 kB / 30.83 MB, free: 4.711 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.203/1.203, allocations: 205.1 MB / 239.3 MB, free: 13.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 189.1 kB / 289.5 MB, free: 11.78 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3884/0.3884, allocations: 78.5 MB / 418 MB, free: 11.56 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 127.8 kB / 498.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.265, allocations: 68.03 MB / 0.553 GB, free: 22.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.00476/0.2698, allocations: 5.22 MB / 0.5581 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.2728, allocations: 1.612 MB / 0.5596 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007144/0.2735, allocations: 7.938 kB / 0.5596 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.2741, allocations: 131.2 kB / 0.5598 GB, free: 15.04 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001651/0.2758, allocations: 0.5646 MB / 0.5603 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000749/0.2766, allocations: 399 kB / 0.5607 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.2776, allocations: 1.016 MB / 0.5617 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.2779, allocations: 185 kB / 0.5619 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005257/0.2784, allocations: 406.1 kB / 0.5623 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005735/0.279, allocations: 0.5094 MB / 0.5628 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.2792, allocations: 56 kB / 0.5628 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.2797, allocations: 183.9 kB / 0.563 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.2798, allocations: 183 kB / 0.5632 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.2803, allocations: 429.4 kB / 0.5636 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008886/0.2811, allocations: 1.203 MB / 0.5647 GB, free: 9.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2812, allocations: 0 / 0.5647 GB, free: 9.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2812, allocations: 4 kB / 0.5648 GB, free: 9.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.855e-05/0.2812, allocations: 0 / 0.5648 GB, free: 9.918 MB / 382.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.005677/0.2869, allocations: 1.749 MB / 0.5665 GB, free: 8.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.287, allocations: 19.98 kB / 0.5665 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/0.2904, allocations: 0.5225 MB / 0.567 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.2916, allocations: 0.6547 MB / 0.5676 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.2918, allocations: 138.1 kB / 0.5678 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.292, allocations: 48 kB / 0.5678 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.2934, allocations: 0.6622 MB / 0.5685 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.2935, allocations: 0 / 0.5685 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.268e-05/0.2936, allocations: 20 kB / 0.5685 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.2936, allocations: 15.98 kB / 0.5685 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.2948, allocations: 0.6363 MB / 0.5691 GB, free: 5.336 MB / 382.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.004469/0.2992, allocations: 2.631 MB / 0.5717 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/0.3107, allocations: 2.805 MB / 0.5744 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009545/0.3117, allocations: 453.2 kB / 0.5748 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.471e-05/0.3118, allocations: 8.547 kB / 0.5749 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.3119, allocations: 43.06 kB / 0.5749 GB, free: 15.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 2.695e-06/0.3119, allocations: 0 / 0.5749 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01237/0.3242, allocations: 3.531 MB / 0.5783 GB, free: 11.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.3243, allocations: 55.97 kB / 0.5784 GB, free: 11.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.3254, allocations: 0.7662 MB / 0.5791 GB, free: 10.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.478e-05/0.3255, allocations: 37.7 kB / 0.5792 GB, free: 10.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.3257, allocations: 352.5 kB / 0.5795 GB, free: 10.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.3259, allocations: 217 kB / 0.5797 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/0.3263, allocations: 170.5 kB / 0.5799 GB, free: 10 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3265, allocations: 398.7 kB / 0.5803 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009764/0.3274, allocations: 0.4939 MB / 0.5808 GB, free: 9.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.3285, allocations: 0.5953 MB / 0.5813 GB, free: 8.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01516/0.3436, allocations: 3.552 MB / 0.5848 GB, free: 4.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.3437, allocations: 0 / 0.5848 GB, free: 4.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006776/0.3505, allocations: 2.391 MB / 0.5871 GB, free: 2.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3505, allocations: 4 kB / 0.5871 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3505, allocations: 4 kB / 0.5871 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003933/0.3545, allocations: 1.053 MB / 0.5882 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.3552, allocations: 147.8 kB / 0.5883 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009258/0.3645, allocations: 4.704 MB / 0.5929 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.3655, allocations: 111.2 kB / 0.593 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-05/0.3656, allocations: 35.98 kB / 0.593 GB, free: 12.3 MB / 414.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.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004082/0.366, allocations: 217.6 kB / 0.5933 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.3662, allocations: 79.06 kB / 0.5933 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005628/0.3719, allocations: 1.949 MB / 0.5952 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.3719, allocations: 4 kB / 0.5952 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.3719, allocations: 4 kB / 0.5952 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3719, allocations: 3.984 kB / 0.5952 GB, free: 10.02 MB / 414.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.00675/0.3787, allocations: 3.044 MB / 0.5982 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.3787, allocations: 3.938 kB / 0.5982 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.3791, allocations: 59.91 kB / 0.5983 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003123/0.3823, allocations: 0.9429 MB / 0.5992 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/0.3823, allocations: 12 kB / 0.5992 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007188/0.3895, allocations: 3.781 MB / 0.6029 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3896, allocations: 0 / 0.6029 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006539/0.3961, allocations: 2.506 MB / 0.6054 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.3964, allocations: 176 kB / 0.6055 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.3966, allocations: 12 kB / 0.6055 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/0.3974, allocations: 51.94 kB / 0.6056 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003473/0.3978, allocations: 120.4 kB / 0.6057 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.3978, allocations: 12 kB / 0.6057 GB, free: 15.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006631/0.3985, allocations: 0.5186 MB / 0.6062 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3985, allocations: 0 / 0.6062 GB, free: 14.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009268/0.3994, allocations: 299.7 kB / 0.6065 GB, free: 14.21 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000243/0.3997, allocations: 121.8 kB / 0.6066 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004125/0.4038, allocations: 1.738 MB / 0.6083 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4038, allocations: 0 / 0.6083 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.4064, allocations: 1.088 MB / 0.6094 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007103/0.4072, allocations: 58.23 kB / 0.6094 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.41, allocations: 1.794 MB / 0.6112 GB, free: 9.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.4105, allocations: 0.9421 MB / 0.6121 GB, free: 8.312 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000286/0.4108, allocations: 65.14 kB / 0.6122 GB, free: 8.246 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.411, allocations: 47.42 kB / 0.6122 GB, free: 8.199 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.411, allocations: 0 / 0.6122 GB, free: 8.199 MB / 430.1 MB Notification: Performance of Templates: time 0.01992/0.4309, allocations: 13.19 MB / 0.6251 GB, free: 11.04 MB / 446.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)