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.001066/0.001066, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.252/1.252, allocations: 222.9 MB / 239.6 MB, free: 4.738 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.001151/0.001151, allocations: 196.4 kB / 289.9 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4541/0.4541, allocations: 78.52 MB / 418.6 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 75.89 kB / 497.6 MB, free: 6.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1307, allocations: 68.17 MB / 0.5525 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.2419/0.3727, allocations: 5.175 MB / 0.5576 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003247/0.376, allocations: 1.623 MB / 0.5591 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000324/0.3763, allocations: 11.12 kB / 0.5592 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.3768, allocations: 120.4 kB / 0.5593 GB, free: 36.38 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.001272/0.3781, allocations: 0.5778 MB / 0.5598 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.3787, allocations: 381.2 kB / 0.5602 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00084/0.3796, allocations: 1.077 MB / 0.5612 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003019/0.3799, allocations: 213.7 kB / 0.5614 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003871/0.3803, allocations: 458 kB / 0.5619 GB, free: 36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.3808, allocations: 0.5549 MB / 0.5624 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.3809, allocations: 98.28 kB / 0.5625 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.3812, allocations: 231.7 kB / 0.5627 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.3814, allocations: 230.8 kB / 0.563 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.3817, allocations: 480.8 kB / 0.5634 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007138/0.3824, allocations: 0.9872 MB / 0.5644 GB, free: 35.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3824, allocations: 0.9375 kB / 0.5644 GB, free: 35.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3824, allocations: 0 / 0.5644 GB, free: 35.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3824, allocations: 0 / 0.5644 GB, free: 35.56 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.00459/0.387, allocations: 1.753 MB / 0.5661 GB, free: 34.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3871, allocations: 9.625 kB / 0.5661 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003094/0.3902, allocations: 0.5201 MB / 0.5666 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009587/0.3911, allocations: 0.6525 MB / 0.5673 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.3913, allocations: 137.5 kB / 0.5674 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.3914, allocations: 51.53 kB / 0.5674 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.3927, allocations: 0.6596 MB / 0.5681 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3927, allocations: 0.5625 kB / 0.5681 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/0.3928, allocations: 19.02 kB / 0.5681 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.3928, allocations: 12 kB / 0.5681 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.394, allocations: 0.6357 MB / 0.5687 GB, free: 34.31 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.004641/0.3986, allocations: 2.636 MB / 0.5713 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/0.41, allocations: 2.809 MB / 0.574 GB, free: 33.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007986/0.4109, allocations: 453.8 kB / 0.5745 GB, free: 33.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.012e-05/0.411, allocations: 6.469 kB / 0.5745 GB, free: 33.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.411, allocations: 43.72 kB / 0.5745 GB, free: 33.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.365e-06/0.411, allocations: 0 / 0.5745 GB, free: 33.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.0113/0.4223, allocations: 3.526 MB / 0.578 GB, free: 32.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.4223, allocations: 58.81 kB / 0.578 GB, free: 32.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009117/0.4233, allocations: 0.7655 MB / 0.5788 GB, free: 32.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.377e-05/0.4233, allocations: 35.52 kB / 0.5788 GB, free: 32.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.4236, allocations: 350.8 kB / 0.5791 GB, free: 32.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.4237, allocations: 216 kB / 0.5793 GB, free: 31.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003255/0.4241, allocations: 166.2 kB / 0.5795 GB, free: 31.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.4242, allocations: 399.7 kB / 0.5799 GB, free: 31.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009448/0.4251, allocations: 0.4962 MB / 0.5804 GB, free: 31.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009815/0.4261, allocations: 0.5987 MB / 0.581 GB, free: 31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/0.4408, allocations: 3.562 MB / 0.5844 GB, free: 29.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.4408, allocations: 1.031 kB / 0.5844 GB, free: 29.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007015/0.4478, allocations: 2.393 MB / 0.5868 GB, free: 29.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.4479, allocations: 5.766 kB / 0.5868 GB, free: 29.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4479, allocations: 6.594 kB / 0.5868 GB, free: 29.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004196/0.4521, allocations: 1.056 MB / 0.5878 GB, free: 29.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009102/0.453, allocations: 150.6 kB / 0.588 GB, free: 29.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/0.4641, allocations: 5.067 MB / 0.5929 GB, free: 26.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.4655, allocations: 111.3 kB / 0.593 GB, free: 26.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/0.4656, allocations: 33.28 kB / 0.593 GB, free: 26.15 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.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.0004667/0.466, allocations: 208.2 kB / 0.5932 GB, free: 25.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.4662, allocations: 86.12 kB / 0.5933 GB, free: 25.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006336/0.4725, allocations: 1.941 MB / 0.5952 GB, free: 25.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.4726, allocations: 6.906 kB / 0.5952 GB, free: 25.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.4726, allocations: 4.75 kB / 0.5952 GB, free: 25.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.4726, allocations: 2.766 kB / 0.5952 GB, free: 25.37 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.00753/0.4801, allocations: 3.034 MB / 0.5982 GB, free: 24.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.4802, allocations: 7.453 kB / 0.5982 GB, free: 24.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.4806, allocations: 64.55 kB / 0.5983 GB, free: 24.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003446/0.4841, allocations: 0.9375 MB / 0.5992 GB, free: 23.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.846e-05/0.4842, allocations: 12.08 kB / 0.5992 GB, free: 23.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008655/0.4928, allocations: 4.11 MB / 0.6032 GB, free: 21.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4928, allocations: 3.688 kB / 0.6032 GB, free: 21.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007889/0.5007, allocations: 2.525 MB / 0.6057 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.5012, allocations: 178 kB / 0.6058 GB, free: 20.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.5014, allocations: 15.12 kB / 0.6059 GB, free: 20.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009268/0.5024, allocations: 51.94 kB / 0.6059 GB, free: 20.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004571/0.5028, allocations: 121.1 kB / 0.606 GB, free: 20.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.958e-05/0.5029, allocations: 13.62 kB / 0.606 GB, free: 20.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009933/0.5039, allocations: 0.5167 MB / 0.6065 GB, free: 20.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5039, allocations: 1.219 kB / 0.6065 GB, free: 20.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001476/0.5054, allocations: 300.5 kB / 0.6068 GB, free: 20.13 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.0003091/0.5057, allocations: 118 kB / 0.6069 GB, free: 20.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004655/0.5104, allocations: 1.753 MB / 0.6087 GB, free: 19.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5104, allocations: 1.094 kB / 0.6087 GB, free: 19.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002677/0.5131, allocations: 1.078 MB / 0.6097 GB, free: 18.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.5138, allocations: 64.05 kB / 0.6098 GB, free: 18.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.5167, allocations: 1.817 MB / 0.6115 GB, free: 17.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.5172, allocations: 0.9456 MB / 0.6125 GB, free: 16.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.5174, allocations: 55.3 kB / 0.6125 GB, free: 16.59 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5174, allocations: 0 / 0.6125 GB, free: 16.59 MB / 430.1 MB Notification: Performance of Templates: time 0.01898/0.5364, allocations: 20.4 MB / 0.6324 GB, free: 13.07 MB / 446.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (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)