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.0009389/0.0009388, allocations: 168.8 kB / 16.1 MB, free: 5.691 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.424/1.424, allocations: 223.3 MB / 240.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008203/0.0008203, allocations: 99.7 kB / 291.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4594/0.4594, allocations: 78.63 MB / 421 MB, free: 9.137 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004023, allocations: 15.94 kB / 0.4894 GB, free: 9.285 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3758, allocations: 69.35 MB / 0.5571 GB, free: 18.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.003474/0.3793, allocations: 4.748 MB / 0.5618 GB, free: 14.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.3816, allocations: 1.619 MB / 0.5634 GB, free: 12.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.3818, allocations: 12 kB / 0.5634 GB, free: 12.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.3821, allocations: 123.2 kB / 0.5635 GB, free: 12.3 MB / 378.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.001083/0.3832, allocations: 0.5715 MB / 0.564 GB, free: 11.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.3838, allocations: 386.6 kB / 0.5644 GB, free: 11.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006805/0.3845, allocations: 1.02 MB / 0.5654 GB, free: 10.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.3848, allocations: 186.4 kB / 0.5656 GB, free: 10.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.3851, allocations: 378.2 kB / 0.5659 GB, free: 9.758 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.3855, allocations: 0.4976 MB / 0.5664 GB, free: 9.258 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.183e-05/0.3856, allocations: 48 kB / 0.5665 GB, free: 9.211 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/0.3859, allocations: 167.9 kB / 0.5666 GB, free: 9.047 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.386, allocations: 183 kB / 0.5668 GB, free: 8.867 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.3863, allocations: 443.1 kB / 0.5672 GB, free: 8.426 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00061/0.3869, allocations: 0.9486 MB / 0.5682 GB, free: 7.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3869, allocations: 4 kB / 0.5682 GB, free: 7.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3869, allocations: 0 / 0.5682 GB, free: 7.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.387, allocations: 0 / 0.5682 GB, free: 7.473 MB / 378.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.004145/0.3911, allocations: 1.613 MB / 0.5697 GB, free: 5.809 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3911, allocations: 12.02 kB / 0.5697 GB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/0.3941, allocations: 0.5264 MB / 0.5703 GB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000732/0.3948, allocations: 0.6508 MB / 0.5709 GB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.395, allocations: 146.1 kB / 0.571 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.724e-05/0.3951, allocations: 59.91 kB / 0.5711 GB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.3962, allocations: 0.6935 MB / 0.5718 GB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3962, allocations: 3.984 kB / 0.5718 GB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.3963, allocations: 20 kB / 0.5718 GB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3963, allocations: 12 kB / 0.5718 GB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.3974, allocations: 0.6715 MB / 0.5725 GB, free: 2.949 MB / 378.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.003558/0.4009, allocations: 2.67 MB / 0.5751 GB, free: 172 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.4129, allocations: 3.771 MB / 0.5788 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.414, allocations: 486.3 kB / 0.5792 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.224e-05/0.4141, allocations: 16.48 kB / 0.5792 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.4142, allocations: 35.12 kB / 0.5793 GB, free: 11.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=57): time 2.455e-06/0.4142, allocations: 4 kB / 0.5793 GB, free: 11.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.01255/0.4267, allocations: 4.234 MB / 0.5834 GB, free: 7.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.4268, allocations: 55.97 kB / 0.5835 GB, free: 7.434 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.428, allocations: 0.7622 MB / 0.5842 GB, free: 6.664 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.127e-05/0.428, allocations: 37.7 kB / 0.5842 GB, free: 6.621 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.4283, allocations: 352.6 kB / 0.5846 GB, free: 6.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.4285, allocations: 221 kB / 0.5848 GB, free: 6.051 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.4287, allocations: 81.67 kB / 0.5849 GB, free: 5.965 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4288, allocations: 398.7 kB / 0.5852 GB, free: 5.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.4299, allocations: 0.533 MB / 0.5858 GB, free: 5.035 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.4309, allocations: 0.6344 MB / 0.5864 GB, free: 4.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/0.4454, allocations: 3.794 MB / 0.5901 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.4454, allocations: 4 kB / 0.5901 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007335/0.4528, allocations: 2.751 MB / 0.5928 GB, free: 13.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.4528, allocations: 6.188 kB / 0.5928 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.4528, allocations: 4 kB / 0.5928 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004129/0.457, allocations: 1.195 MB / 0.594 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/0.4578, allocations: 151.8 kB / 0.5941 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.4682, allocations: 5.107 MB / 0.5991 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.4694, allocations: 131.2 kB / 0.5992 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.4696, allocations: 39.92 kB / 0.5992 GB, free: 7.012 MB / 410.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.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.0005559/0.4702, allocations: 217.6 kB / 0.5995 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.4704, allocations: 78.97 kB / 0.5995 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006211/0.4766, allocations: 2.297 MB / 0.6018 GB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.4767, allocations: 8 kB / 0.6018 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/0.4767, allocations: 4 kB / 0.6018 GB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4767, allocations: 3.938 kB / 0.6018 GB, free: 4.375 MB / 410.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.007586/0.4843, allocations: 3.388 MB / 0.6051 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4843, allocations: 0 / 0.6051 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.4847, allocations: 63.91 kB / 0.6052 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003339/0.4881, allocations: 1.09 MB / 0.6062 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.4882, allocations: 15.98 kB / 0.6062 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008104/0.4963, allocations: 4.133 MB / 0.6103 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4963, allocations: 0 / 0.6103 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007542/0.5039, allocations: 2.909 MB / 0.6131 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.5043, allocations: 176 kB / 0.6133 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.5045, allocations: 12 kB / 0.6133 GB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008287/0.5054, allocations: 71.94 kB / 0.6134 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003958/0.5058, allocations: 120.3 kB / 0.6135 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.5059, allocations: 12 kB / 0.6135 GB, free: 8.117 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008384/0.5067, allocations: 0.5186 MB / 0.614 GB, free: 7.602 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5067, allocations: 0 / 0.614 GB, free: 7.602 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001161/0.5079, allocations: 299.7 kB / 0.6143 GB, free: 7.309 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 (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.0002802/0.5082, allocations: 127.2 kB / 0.6144 GB, free: 7.172 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004637/0.5128, allocations: 1.91 MB / 0.6163 GB, free: 5.203 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5128, allocations: 448 / 0.6163 GB, free: 5.203 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002753/0.5156, allocations: 1.205 MB / 0.6174 GB, free: 3.941 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.5163, allocations: 61.39 kB / 0.6175 GB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.5194, allocations: 1.921 MB / 0.6194 GB, free: 1.938 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/0.52, allocations: 0.9537 MB / 0.6203 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.5203, allocations: 55.42 kB / 0.6204 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/0.5203, allocations: 0 / 0.6204 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of Templates: time 0.02797/0.5482, allocations: 20.32 MB / 0.6402 GB, free: 12.55 MB / 458.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)