Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.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/Complex 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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault") translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 109.2 kB / 16.97 MB, free: 6.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 184.9 kB / 17.89 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 223.8 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06273/0.06273, allocations: 14.17 MB / 285.3 MB, free: 13.92 MB / 238.1 MB 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: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 64.12 kB / 346.5 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1995, allocations: 50.13 MB / 396.6 MB, free: 47.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault): time 0.01/0.2096, allocations: 13.88 MB / 410.5 MB, free: 36.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007799/0.2174, allocations: 5.939 MB / 416.4 MB, free: 31.76 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.2193, allocations: 39.19 kB / 416.5 MB, free: 31.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.2212, allocations: 0.7475 MB / 417.2 MB, free: 31.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00547/0.2267, allocations: 2.616 MB / 419.8 MB, free: 28.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.228, allocations: 0.6703 MB / 420.5 MB, free: 27.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003741/0.2317, allocations: 4.24 MB / 424.7 MB, free: 23.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/0.2322, allocations: 312.3 kB / 425 MB, free: 23.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.2338, allocations: 1.362 MB / 426.4 MB, free: 21.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.2353, allocations: 1.424 MB / 427.8 MB, free: 20.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00024/0.2356, allocations: 160 kB / 428 MB, free: 20.24 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.2368, allocations: 0.6286 MB / 428.6 MB, free: 19.61 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.237, allocations: 366.3 kB / 429 MB, free: 19.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008819/0.2379, allocations: 1.256 MB / 430.2 MB, free: 17.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002612/0.2406, allocations: 3.199 MB / 433.4 MB, free: 14.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2406, allocations: 0 / 433.4 MB, free: 14.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.2406, allocations: 0 / 433.4 MB, free: 14.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.715e-05/0.2406, allocations: 3.938 kB / 433.4 MB, free: 14.78 MB / 318.1 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.00994/0.2506, allocations: 3.361 MB / 436.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2506, allocations: 8.031 kB / 436.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.2521, allocations: 350.1 kB / 437.1 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.2543, allocations: 1.384 MB / 438.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.2544, allocations: 119.1 kB / 438.6 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.2545, allocations: 152 kB / 438.8 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.2566, allocations: 1.794 MB / 440.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.2567, allocations: 7.938 kB / 440.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.2568, allocations: 68 kB / 440.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.2568, allocations: 40 kB / 440.7 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.2588, allocations: 1.505 MB / 442.2 MB, free: 5.695 MB / 318.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.01304/0.2719, allocations: 12.95 MB / 455.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.2746, allocations: 1.887 MB / 457 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009195/0.2755, allocations: 0.6262 MB / 457.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.2756, allocations: 17.31 kB / 457.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.2767, allocations: 0.7332 MB / 458.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=151): time 3.697e-06/0.2767, allocations: 0 / 458.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=151): time 0.006494/0.2832, allocations: 2.672 MB / 461.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.2834, allocations: 226.9 kB / 461.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.2853, allocations: 1.271 MB / 462.6 MB, free: 4 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.2854, allocations: 49.7 kB / 462.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007078/0.2862, allocations: 0.8024 MB / 463.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000537/0.2867, allocations: 0.5161 MB / 464 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004688/0.2872, allocations: 315.1 kB / 464.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.2873, allocations: 309.1 kB / 464.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008622/0.2882, allocations: 495.8 kB / 465.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.2893, allocations: 0.9647 MB / 466 MB, free: 12.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.2915, allocations: 1.696 MB / 467.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.2915, allocations: 4 kB / 467.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.003846/0.2954, allocations: 2.069 MB / 469.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.81e-05/0.2955, allocations: 67.41 kB / 469.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.2955, allocations: 16 kB / 469.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.2967, allocations: 400.7 kB / 470.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.2983, allocations: 415.4 kB / 470.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00564/0.304, allocations: 4.029 MB / 474.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.306, allocations: 139 kB / 474.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.3062, allocations: 76 kB / 474.9 MB, free: 3.039 MB / 350.1 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.0008383/0.3071, allocations: 497 kB / 475.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004837/0.3076, allocations: 166 kB / 475.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003112/0.3107, allocations: 1.693 MB / 477.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.3107, allocations: 16 kB / 477.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.3107, allocations: 4 kB / 477.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.3108, allocations: 7.969 kB / 477.3 MB, free: 0.6211 MB / 350.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.006197/0.317, allocations: 3.961 MB / 481.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.317, allocations: 4.125 kB / 481.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.3182, allocations: 267.7 kB / 481.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.3192, allocations: 360.6 kB / 481.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.3194, allocations: 28 kB / 481.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005529/0.3249, allocations: 3.967 MB / 485.8 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.3249, allocations: 3.938 kB / 485.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005056/0.33, allocations: 3.37 MB / 489.2 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009447/0.331, allocations: 438.7 kB / 489.6 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003994/0.3314, allocations: 31.94 kB / 489.7 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.3327, allocations: 43.92 kB / 489.7 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.333, allocations: 97.17 kB / 489.8 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.609e-05/0.333, allocations: 32 kB / 489.8 MB, free: 3.664 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001447/0.3345, allocations: 0.8411 MB / 490.7 MB, free: 2.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3345, allocations: 0 / 490.7 MB, free: 2.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002196/0.3367, allocations: 0.6557 MB / 491.3 MB, free: 2.164 MB / 366.1 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.0003967/0.3371, allocations: 247.5 kB / 491.6 MB, free: 1.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003021/0.3402, allocations: 1.783 MB / 493.4 MB, free: 100 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3402, allocations: 0 / 493.4 MB, free: 100 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.3418, allocations: 1.079 MB / 494.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.3433, allocations: 217 kB / 494.7 MB, free: 14.77 MB / 382.1 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.005695/0.349, allocations: 3.441 MB / 498.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.3501, allocations: 1.295 MB / 499.4 MB, free: 9.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.3507, allocations: 131.4 kB / 499.5 MB, free: 9.836 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3507, allocations: 0 / 499.5 MB, free: 9.836 MB / 382.1 MB Notification: Performance of Templates: time 0.03983/0.3905, allocations: 30.75 MB / 0.5178 GB, free: 11.07 MB / 414.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe 2>&1)