Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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.TwoBusesResistiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, 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.298/1.298, allocations: 205.1 MB / 221.8 MB, free: 8.465 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.001276/0.001276, allocations: 97.53 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06139/0.06139, allocations: 14.17 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 47.92 kB / 391.6 MB, free: 64.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.09724, allocations: 50.15 MB / 441.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.006315/0.1036, allocations: 7.426 MB / 449.2 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00477/0.1084, allocations: 3.55 MB / 452.8 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005075/0.109, allocations: 19.94 kB / 452.8 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000928/0.1099, allocations: 370.4 kB / 453.1 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.1128, allocations: 1.462 MB / 454.6 MB, free: 1.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008753/0.1137, allocations: 0.5645 MB / 455.2 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.1157, allocations: 1.863 MB / 457 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.116, allocations: 118.2 kB / 457.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006631/0.1166, allocations: 0.4897 MB / 457.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.1173, allocations: 0.5249 MB / 458.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.656e-05/0.1173, allocations: 28 kB / 458.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000945/0.1183, allocations: 363.6 kB / 458.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1184, allocations: 111.2 kB / 458.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.1189, allocations: 493.3 kB / 459.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.1206, allocations: 1.328 MB / 460.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1206, allocations: 0 / 460.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1206, allocations: 4 kB / 460.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.1206, allocations: 0 / 460.5 MB, free: 11.95 MB / 314.7 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.004848/0.1255, allocations: 1.668 MB / 462.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1255, allocations: 8.031 kB / 462.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005707/0.1261, allocations: 151.7 kB / 462.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.1273, allocations: 0.6413 MB / 462.9 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/0.1273, allocations: 54.38 kB / 463 MB, free: 9.344 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-05/0.1274, allocations: 75.94 kB / 463.1 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.1286, allocations: 0.7654 MB / 463.8 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.1287, allocations: 3.984 kB / 463.8 MB, free: 8.461 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.288e-05/0.1287, allocations: 32 kB / 463.9 MB, free: 8.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.1288, allocations: 20 kB / 463.9 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.1299, allocations: 0.7065 MB / 464.6 MB, free: 7.703 MB / 314.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.004919/0.1348, allocations: 4.681 MB / 469.3 MB, free: 2.504 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.1365, allocations: 0.9558 MB / 470.2 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/0.137, allocations: 306.7 kB / 470.5 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.137, allocations: 8.656 kB / 470.5 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1371, allocations: 39.22 kB / 470.6 MB, free: 1.152 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 2.404e-06/0.1371, allocations: 0 / 470.6 MB, free: 1.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.002917/0.14, allocations: 1.252 MB / 471.8 MB, free: 15.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.14, allocations: 60.06 kB / 471.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.1406, allocations: 0.4912 MB / 472.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.1407, allocations: 33.7 kB / 472.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.1409, allocations: 371.8 kB / 472.8 MB, free: 14.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.1412, allocations: 272.1 kB / 473 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.1414, allocations: 142.4 kB / 473.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.1416, allocations: 370.8 kB / 473.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.142, allocations: 213.9 kB / 473.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.1425, allocations: 336.3 kB / 474.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008682/0.1434, allocations: 0.5937 MB / 474.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1434, allocations: 0 / 474.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001587/0.145, allocations: 0.8564 MB / 475.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.145, allocations: 11.98 kB / 475.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.145, allocations: 4 kB / 475.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/0.1456, allocations: 184.5 kB / 475.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007965/0.1464, allocations: 195.8 kB / 475.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.1496, allocations: 2.335 MB / 478.2 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.1502, allocations: 59.5 kB / 478.3 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.1502, allocations: 28 kB / 478.3 MB, free: 9.094 MB / 330.7 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.0003378/0.1506, allocations: 221.7 kB / 478.5 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.1507, allocations: 71.16 kB / 478.6 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.1523, allocations: 0.8023 MB / 479.4 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1523, allocations: 8 kB / 479.4 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1523, allocations: 4 kB / 479.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1523, allocations: 7.984 kB / 479.4 MB, free: 7.961 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.002568/0.1549, allocations: 1.733 MB / 481.2 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1549, allocations: 0 / 481.2 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000713/0.1556, allocations: 163.8 kB / 481.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005018/0.1561, allocations: 176.6 kB / 481.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.1562, allocations: 12 kB / 481.5 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003022/0.1592, allocations: 2.328 MB / 483.8 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1592, allocations: 96 / 483.8 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.1615, allocations: 1.803 MB / 485.6 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/0.162, allocations: 200.1 kB / 485.8 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.162, allocations: 12 kB / 485.9 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.1625, allocations: 39.77 kB / 485.9 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.1626, allocations: 48.59 kB / 485.9 MB, free: 1.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.1627, allocations: 20 kB / 486 MB, free: 1.141 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004336/0.1631, allocations: 346.8 kB / 486.3 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1631, allocations: 0 / 486.3 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001059/0.1642, allocations: 275.8 kB / 486.6 MB, free: 0.5352 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: 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.0003077/0.1645, allocations: 183.1 kB / 486.7 MB, free: 356 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1833/0.3478, allocations: 0.803 MB / 487.5 MB, free: 49.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.3479, allocations: 0 / 487.5 MB, free: 49.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009853/0.3489, allocations: 0.5281 MB / 488.1 MB, free: 49.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008672/0.3498, allocations: 92.08 kB / 488.2 MB, free: 49.61 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.002963/0.3527, allocations: 2.03 MB / 490.2 MB, free: 48.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.3533, allocations: 0.9548 MB / 491.2 MB, free: 47.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004779/0.3538, allocations: 90.77 kB / 491.2 MB, free: 47.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.3539, allocations: 48.39 kB / 491.3 MB, free: 47.78 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3539, allocations: 0 / 491.3 MB, free: 47.78 MB / 330.7 MB Notification: Performance of Templates: time 0.0167/0.3706, allocations: 8.107 MB / 499.4 MB, free: 46.09 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.sim & ./PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe 2>&1)