Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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.TwoBusesResistiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 103.5 kB / 16.96 MB, free: 5.836 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.001105/0.001105, allocations: 190.2 kB / 17.9 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.166/2.166, allocations: 205.1 MB / 223.8 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.1014/0.1014, allocations: 14.18 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.003007/0.003007, allocations: 68.69 kB / 346.5 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3669, allocations: 50.13 MB / 396.6 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.01223/0.3792, allocations: 7.283 MB / 403.9 MB, free: 42.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00912/0.3884, allocations: 3.542 MB / 407.4 MB, free: 39.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.3901, allocations: 17.47 kB / 407.5 MB, free: 39.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.3924, allocations: 420 kB / 407.9 MB, free: 38.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007351/0.3997, allocations: 1.571 MB / 409.4 MB, free: 37.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.402, allocations: 0.5741 MB / 410 MB, free: 37.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004191/0.4062, allocations: 1.837 MB / 411.9 MB, free: 35.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005192/0.4067, allocations: 120.8 kB / 412 MB, free: 35.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.4084, allocations: 0.6204 MB / 412.6 MB, free: 35.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.4101, allocations: 0.6404 MB / 413.2 MB, free: 35.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.4104, allocations: 64 kB / 413.3 MB, free: 34.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.4127, allocations: 423.7 kB / 413.7 MB, free: 34.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.4129, allocations: 171.2 kB / 413.9 MB, free: 34.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.4141, allocations: 0.5364 MB / 414.4 MB, free: 33.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.4168, allocations: 1.451 MB / 415.9 MB, free: 32.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.4169, allocations: 0 / 415.9 MB, free: 32.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4169, allocations: 7.938 kB / 415.9 MB, free: 32.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.323e-05/0.4169, allocations: 0 / 415.9 MB, free: 32.38 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.009708/0.4267, allocations: 1.742 MB / 417.6 MB, free: 30.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.4267, allocations: 12.03 kB / 417.6 MB, free: 30.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.4281, allocations: 155.6 kB / 417.8 MB, free: 30.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.4301, allocations: 0.6726 MB / 418.4 MB, free: 29.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.622e-05/0.4302, allocations: 54.38 kB / 418.5 MB, free: 29.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.4304, allocations: 71.94 kB / 418.6 MB, free: 29.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.4322, allocations: 0.7693 MB / 419.3 MB, free: 28.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.4323, allocations: 0 / 419.3 MB, free: 28.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/0.4324, allocations: 32 kB / 419.4 MB, free: 28.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.4324, allocations: 23.98 kB / 419.4 MB, free: 28.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.4343, allocations: 0.7104 MB / 420.1 MB, free: 28.02 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.01007/0.4444, allocations: 5.076 MB / 425.2 MB, free: 22.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/0.4472, allocations: 0.9532 MB / 426.1 MB, free: 21.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007151/0.448, allocations: 303.6 kB / 426.4 MB, free: 21.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.785e-05/0.4481, allocations: 12.64 kB / 426.4 MB, free: 21.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.536e-05/0.4482, allocations: 43.22 kB / 426.5 MB, free: 21.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 8.786e-06/0.4482, allocations: 3.984 kB / 426.5 MB, free: 21.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.005161/0.4534, allocations: 1.234 MB / 427.7 MB, free: 19.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.4535, allocations: 64 kB / 427.8 MB, free: 19.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.4547, allocations: 0.5575 MB / 428.3 MB, free: 19.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.4548, allocations: 37.7 kB / 428.4 MB, free: 19.1 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.4552, allocations: 363.9 kB / 428.7 MB, free: 18.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.4555, allocations: 272 kB / 429 MB, free: 18.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003029/0.4558, allocations: 130.6 kB / 429.1 MB, free: 18.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.456, allocations: 374.8 kB / 429.5 MB, free: 17.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000704/0.4567, allocations: 217.9 kB / 429.7 MB, free: 17.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007091/0.4574, allocations: 328.3 kB / 430 MB, free: 17.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.4589, allocations: 0.5936 MB / 430.6 MB, free: 16.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.4589, allocations: 0 / 430.6 MB, free: 16.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00262/0.4615, allocations: 0.8641 MB / 431.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.4616, allocations: 8 kB / 431.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.4617, allocations: 320 / 431.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.4627, allocations: 180.7 kB / 431.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.4642, allocations: 199.8 kB / 431.9 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004745/0.469, allocations: 2.534 MB / 434.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.4704, allocations: 55.59 kB / 434.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.4706, allocations: 28 kB / 434.5 MB, free: 12.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005124/0.4711, allocations: 221.6 kB / 434.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/0.4714, allocations: 75.16 kB / 434.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.4739, allocations: 0.81 MB / 435.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.474, allocations: 8 kB / 435.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.474, allocations: 7.938 kB / 435.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.474, allocations: 3.984 kB / 435.6 MB, free: 11.61 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 postOpt removeSimpleEquations (simulation): time 0.004379/0.4784, allocations: 1.854 MB / 437.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.4785, allocations: 0 / 437.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/0.4798, allocations: 155.8 kB / 437.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009451/0.4808, allocations: 172.7 kB / 437.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-05/0.4809, allocations: 12 kB / 437.8 MB, free: 9.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004589/0.4855, allocations: 2.527 MB / 440.3 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4855, allocations: 3.938 kB / 440.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/0.489, allocations: 2.032 MB / 442.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006695/0.4897, allocations: 228 kB / 442.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/0.49, allocations: 8 kB / 442.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.4911, allocations: 23.91 kB / 442.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.4913, allocations: 48.58 kB / 442.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/0.4914, allocations: 24 kB / 442.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008577/0.4923, allocations: 382.8 kB / 443 MB, free: 3.855 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4923, allocations: 0 / 443 MB, free: 3.855 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001839/0.4941, allocations: 307.8 kB / 443.4 MB, free: 3.555 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004162/0.4946, allocations: 189.8 kB / 443.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002493/0.4971, allocations: 0.8148 MB / 444.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.4971, allocations: 0 / 444.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.4984, allocations: 0.5294 MB / 444.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.4998, allocations: 117.2 kB / 445 MB, free: 1.887 MB / 318.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.00416/0.504, allocations: 1.696 MB / 446.7 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009506/0.505, allocations: 0.9543 MB / 447.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/0.5054, allocations: 59.42 kB / 447.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5055, allocations: 0 / 447.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of Templates: time 0.03664/0.5421, allocations: 13.64 MB / 461.3 MB, free: 1.469 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe 2>&1)