Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault") translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 221.8 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009451/0.0009449, allocations: 102 kB / 269.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05969/0.05969, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 47.92 kB / 391.6 MB, free: 64.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.08735, allocations: 50.15 MB / 441.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault): time 0.009545/0.09693, allocations: 14.1 MB / 455.9 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.1072, allocations: 5.947 MB / 461.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002404/0.1096, allocations: 39.88 kB / 461.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.1122, allocations: 0.6611 MB / 462.5 MB, free: 9.891 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007231/0.1195, allocations: 2.44 MB / 465 MB, free: 7.461 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.1214, allocations: 0.646 MB / 465.6 MB, free: 6.816 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006889/0.1283, allocations: 4.222 MB / 469.8 MB, free: 2.586 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008994/0.1292, allocations: 291.8 kB / 470.1 MB, free: 2.281 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002505/0.1317, allocations: 1.049 MB / 471.2 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.1341, allocations: 1.131 MB / 472.3 MB, free: 92 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005508/0.1347, allocations: 64 kB / 472.4 MB, free: 28 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.1372, allocations: 472.1 kB / 472.8 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005124/0.1377, allocations: 258.4 kB / 473.1 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002875/0.1406, allocations: 1.065 MB / 474.1 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004838/0.1455, allocations: 2.893 MB / 477 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1455, allocations: 3.938 kB / 477 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1455, allocations: 0 / 477 MB, free: 11.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001014/0.1456, allocations: 0 / 477 MB, free: 11.33 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01071/0.1564, allocations: 3.19 MB / 480.2 MB, free: 8.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1564, allocations: 12.02 kB / 480.2 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.1582, allocations: 338.2 kB / 480.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.1608, allocations: 1.337 MB / 481.9 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-05/0.1609, allocations: 119.1 kB / 482 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.1611, allocations: 152 kB / 482.2 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.1637, allocations: 1.79 MB / 484 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.1637, allocations: 11.94 kB / 484 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.1639, allocations: 71.98 kB / 484 MB, free: 4.023 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.1639, allocations: 43.94 kB / 484.1 MB, free: 3.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.1661, allocations: 1.501 MB / 485.6 MB, free: 2.473 MB / 330.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.1751/0.3412, allocations: 12.04 MB / 497.6 MB, free: 39.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.3439, allocations: 1.878 MB / 499.5 MB, free: 38.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.3452, allocations: 0.6272 MB / 0.4884 GB, free: 38.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.3453, allocations: 21.14 kB / 0.4884 GB, free: 38.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001602/0.3469, allocations: 0.732 MB / 0.4891 GB, free: 37.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=151): time 5.05e-06/0.347, allocations: 0 / 0.4891 GB, free: 37.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=151): time 0.006738/0.3537, allocations: 2.669 MB / 0.4918 GB, free: 36.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/0.3538, allocations: 231.7 kB / 0.492 GB, free: 36.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.3556, allocations: 1.119 MB / 0.4931 GB, free: 36.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-05/0.3557, allocations: 53.19 kB / 0.4931 GB, free: 36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007524/0.3565, allocations: 0.7976 MB / 0.4939 GB, free: 35.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005803/0.3571, allocations: 0.5105 MB / 0.4944 GB, free: 35.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004869/0.3576, allocations: 315.9 kB / 0.4947 GB, free: 34.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.3577, allocations: 306.4 kB / 0.495 GB, free: 34.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008313/0.3585, allocations: 491 kB / 0.4955 GB, free: 34.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009725/0.3595, allocations: 0.9735 MB / 0.4964 GB, free: 33.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.3612, allocations: 1.694 MB / 0.4981 GB, free: 32.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.3612, allocations: 7.969 kB / 0.4981 GB, free: 32.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.003161/0.3644, allocations: 2.066 MB / 0.5001 GB, free: 31.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.3644, allocations: 64.84 kB / 0.5002 GB, free: 31.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.3645, allocations: 13.44 kB / 0.5002 GB, free: 31.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.3656, allocations: 407 kB / 0.5006 GB, free: 31.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.3672, allocations: 421.4 kB / 0.501 GB, free: 31.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004507/0.3717, allocations: 3.676 MB / 0.5045 GB, free: 28.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.3732, allocations: 160.2 kB / 0.5047 GB, free: 28.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.3734, allocations: 73.52 kB / 0.5048 GB, free: 28.47 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 10 (transmissionLine.busFault.fault,$PRE.transmissionLine.busFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,transmissionLine.busFault.Y.im,$PRE.transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.re,$PRE.transmissionLine.busFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,27,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007663/0.3741, allocations: 496.9 kB / 0.5052 GB, free: 28.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/0.3745, allocations: 172.3 kB / 0.5054 GB, free: 27.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.3774, allocations: 1.689 MB / 0.5071 GB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.3774, allocations: 18.25 kB / 0.5071 GB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.3774, allocations: 5.438 kB / 0.5071 GB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.3775, allocations: 10.14 kB / 0.5071 GB, free: 27.16 MB / 330.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.004425/0.3819, allocations: 3.597 MB / 0.5106 GB, free: 24.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.3819, allocations: 0 / 0.5106 GB, free: 24.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.383, allocations: 278.3 kB / 0.5109 GB, free: 24.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008854/0.3839, allocations: 352.4 kB / 0.5112 GB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.948e-05/0.384, allocations: 27.84 kB / 0.5112 GB, free: 24.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003992/0.388, allocations: 3.649 MB / 0.5148 GB, free: 21.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.388, allocations: 0 / 0.5148 GB, free: 21.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003338/0.3914, allocations: 3.141 MB / 0.5179 GB, free: 18.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006727/0.392, allocations: 374.8 kB / 0.5182 GB, free: 17.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.3922, allocations: 29.73 kB / 0.5182 GB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008238/0.3931, allocations: 63.61 kB / 0.5183 GB, free: 17.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.3932, allocations: 97.11 kB / 0.5184 GB, free: 17.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.006e-05/0.3933, allocations: 36 kB / 0.5184 GB, free: 17.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007948/0.3941, allocations: 0.7357 MB / 0.5191 GB, free: 16.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3941, allocations: 0 / 0.5191 GB, free: 16.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001466/0.3956, allocations: 0.5894 MB / 0.5197 GB, free: 16.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,transmissionLine.busFault.Y.re,transmissionLine.busFault.Y.im,transmissionLine.busFault.fault) * Number of discrete states: 7 ($whenCondition4,transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.re,$whenCondition3,transmissionLine.busFault.fault,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,27,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003122/0.3959, allocations: 247 kB / 0.52 GB, free: 16.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.3981, allocations: 1.786 MB / 0.5217 GB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3981, allocations: 4.125 kB / 0.5217 GB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.3993, allocations: 1.078 MB / 0.5228 GB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008456/0.4002, allocations: 169.6 kB / 0.5229 GB, free: 12.95 MB / 330.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.4046, allocations: 4.227 MB / 0.5271 GB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006275/0.4052, allocations: 1.287 MB / 0.5283 GB, free: 7.383 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009674/0.4062, allocations: 207.3 kB / 0.5285 GB, free: 7.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.4064, allocations: 99.42 kB / 0.5286 GB, free: 7.082 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.4064, allocations: 0 / 0.5286 GB, free: 7.082 MB / 330.7 MB Notification: Performance of Templates: time 0.02689/0.4333, allocations: 17.66 MB / 0.5458 GB, free: 5.562 MB / 346.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.sim & ./PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe 2>&1)