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.09029/0.09029, allocations: 12.2 MB / 28.08 MB, free: 1.355 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.001116/0.001116, allocations: 115.4 kB / 31.59 MB, free: 4.578 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.741/1.741, allocations: 205.1 MB / 240.1 MB, free: 10.93 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.002378/0.002378, allocations: 183.8 kB / 290.2 MB, free: 13.82 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.51/0.51, allocations: 78.51 MB / 418.8 MB, free: 11.91 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.002451/0.002451, allocations: 135.8 kB / 499.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3914, allocations: 68.03 MB / 0.5538 GB, free: 22.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005647/0.3971, allocations: 5.229 MB / 0.5589 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003532/0.4007, allocations: 1.588 MB / 0.5605 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.4017, allocations: 8 kB / 0.5605 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006423/0.4024, allocations: 127.2 kB / 0.5606 GB, free: 15.2 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.001781/0.4042, allocations: 0.5749 MB / 0.5612 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008002/0.405, allocations: 382.7 kB / 0.5615 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.4061, allocations: 1.075 MB / 0.5626 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.4064, allocations: 216.5 kB / 0.5628 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004538/0.4069, allocations: 454.1 kB / 0.5632 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004556/0.4073, allocations: 0.5524 MB / 0.5638 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.4075, allocations: 100 kB / 0.5638 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.4079, allocations: 239.8 kB / 0.5641 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.408, allocations: 227.1 kB / 0.5643 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.4083, allocations: 477.4 kB / 0.5647 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008129/0.4091, allocations: 0.986 MB / 0.5657 GB, free: 9.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4091, allocations: 0 / 0.5657 GB, free: 9.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4092, allocations: 3.938 kB / 0.5657 GB, free: 9.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.4092, allocations: 4 kB / 0.5657 GB, free: 9.941 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.004803/0.414, allocations: 1.749 MB / 0.5674 GB, free: 8.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.414, allocations: 15.98 kB / 0.5674 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/0.4171, allocations: 0.5186 MB / 0.5679 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008391/0.4179, allocations: 0.6548 MB / 0.5686 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.4181, allocations: 138.1 kB / 0.5687 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.4182, allocations: 51.98 kB / 0.5688 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.4194, allocations: 0.6584 MB / 0.5694 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.4194, allocations: 0 / 0.5694 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.447e-05/0.4195, allocations: 20 kB / 0.5694 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.4195, allocations: 12 kB / 0.5694 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.4205, allocations: 0.6324 MB / 0.5701 GB, free: 5.371 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.003845/0.4244, allocations: 2.631 MB / 0.5726 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.4355, allocations: 2.816 MB / 0.5754 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.4369, allocations: 449.3 kB / 0.5758 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.471e-05/0.437, allocations: 8.562 kB / 0.5758 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.437, allocations: 39.12 kB / 0.5759 GB, free: 15.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 3.867e-06/0.437, allocations: 0 / 0.5759 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01259/0.4496, allocations: 3.535 MB / 0.5793 GB, free: 11.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.4497, allocations: 55.97 kB / 0.5794 GB, free: 11.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.451, allocations: 0.7623 MB / 0.5801 GB, free: 10.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.4512, allocations: 41.64 kB / 0.5801 GB, free: 10.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.4515, allocations: 352.6 kB / 0.5805 GB, free: 10.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.4518, allocations: 213 kB / 0.5807 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003354/0.4521, allocations: 166.5 kB / 0.5808 GB, free: 10.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.4523, allocations: 402.7 kB / 0.5812 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.4533, allocations: 0.49 MB / 0.5817 GB, free: 9.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.4544, allocations: 0.6031 MB / 0.5823 GB, free: 8.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01563/0.4701, allocations: 3.563 MB / 0.5858 GB, free: 4.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.4701, allocations: 0 / 0.5858 GB, free: 4.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007216/0.4773, allocations: 2.392 MB / 0.5881 GB, free: 2.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.4774, allocations: 7.938 kB / 0.5881 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.4774, allocations: 8 kB / 0.5881 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004148/0.4816, allocations: 1.044 MB / 0.5891 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009076/0.4825, allocations: 155.7 kB / 0.5893 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.4931, allocations: 5.071 MB / 0.5942 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.4945, allocations: 107.2 kB / 0.5943 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.002e-05/0.4946, allocations: 35.98 kB / 0.5944 GB, free: 11.94 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.0005351/0.4952, allocations: 208 kB / 0.5946 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.4953, allocations: 78.97 kB / 0.5947 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005781/0.5011, allocations: 1.945 MB / 0.5966 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.5012, allocations: 15.98 kB / 0.5966 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.5012, allocations: 7.984 kB / 0.5966 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/0.5012, allocations: 0 / 0.5966 GB, free: 9.664 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.00726/0.5085, allocations: 3.041 MB / 0.5995 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.5085, allocations: 3.938 kB / 0.5995 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000463/0.509, allocations: 63.91 kB / 0.5996 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00321/0.5122, allocations: 0.9351 MB / 0.6005 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.327e-05/0.5123, allocations: 12 kB / 0.6005 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008143/0.5204, allocations: 4.11 MB / 0.6045 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5205, allocations: 3.938 kB / 0.6046 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006866/0.5274, allocations: 2.522 MB / 0.607 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/0.5278, allocations: 172 kB / 0.6072 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.5279, allocations: 12 kB / 0.6072 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007668/0.5287, allocations: 51.94 kB / 0.6072 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003867/0.5291, allocations: 124.4 kB / 0.6074 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.5292, allocations: 12 kB / 0.6074 GB, free: 14.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000685/0.5298, allocations: 0.5186 MB / 0.6079 GB, free: 13.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5299, allocations: 0 / 0.6079 GB, free: 13.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009962/0.5309, allocations: 303.7 kB / 0.6082 GB, free: 13.51 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.0003069/0.5312, allocations: 119.4 kB / 0.6083 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004513/0.5357, allocations: 1.754 MB / 0.61 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.5357, allocations: 3.938 kB / 0.61 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002707/0.5384, allocations: 1.076 MB / 0.611 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007493/0.5392, allocations: 62.94 kB / 0.6111 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.5422, allocations: 1.816 MB / 0.6129 GB, free: 8.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.5427, allocations: 0.9421 MB / 0.6138 GB, free: 7.555 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.543, allocations: 59.42 kB / 0.6139 GB, free: 7.496 MB / 430.1 MB Notification: Performance of SimCode: time 4.428e-06/0.543, allocations: 0 / 0.6139 GB, free: 7.496 MB / 430.1 MB Notification: Performance of Templates: time 0.02384/0.5668, allocations: 20.4 MB / 0.6338 GB, free: 3.086 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)