Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.TwoBusesInductiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001703/0.001703, allocations: 183.1 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.38/1.38, allocations: 205.1 MB / 221.8 MB, free: 8.484 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.001191/0.001191, allocations: 106.2 kB / 269.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.07385/0.07385, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 51.91 kB / 391.6 MB, free: 64.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1157, allocations: 50.15 MB / 441.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.005537/0.1213, allocations: 7.433 MB / 449.2 MB, free: 7.238 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004506/0.1258, allocations: 3.553 MB / 452.8 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004752/0.1263, allocations: 23.88 kB / 452.8 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008628/0.1273, allocations: 362.4 kB / 453.1 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.13, allocations: 1.466 MB / 454.6 MB, free: 1.832 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007854/0.1308, allocations: 0.5529 MB / 455.2 MB, free: 1.277 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.1325, allocations: 1.863 MB / 457 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/0.1327, allocations: 122.2 kB / 457.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000564/0.1333, allocations: 0.4975 MB / 457.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005406/0.1339, allocations: 0.5132 MB / 458.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.1339, allocations: 28 kB / 458.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007995/0.1348, allocations: 367.6 kB / 458.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.483e-05/0.1349, allocations: 111.3 kB / 458.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000429/0.1353, allocations: 493.3 kB / 459.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.1366, allocations: 1.328 MB / 460.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1366, allocations: 4 kB / 460.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1366, allocations: 0 / 460.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1366, 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.004809/0.1414, allocations: 1.676 MB / 462.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.1415, allocations: 8.031 kB / 462.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005514/0.1421, allocations: 147.7 kB / 462.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.1431, allocations: 0.6413 MB / 462.9 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.1431, allocations: 54.38 kB / 463 MB, free: 9.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.281e-05/0.1432, allocations: 79.94 kB / 463.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.1444, allocations: 0.7654 MB / 463.8 MB, free: 8.457 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.1445, allocations: 0 / 463.8 MB, free: 8.457 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-05/0.1445, allocations: 36 kB / 463.9 MB, free: 8.422 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.1446, allocations: 20 kB / 463.9 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.1457, allocations: 0.7027 MB / 464.6 MB, free: 7.699 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.004524/0.1502, allocations: 4.677 MB / 469.3 MB, free: 2.504 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.1518, allocations: 0.9593 MB / 470.2 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.1522, allocations: 307.5 kB / 470.5 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.626e-05/0.1523, allocations: 12.66 kB / 470.5 MB, free: 1.195 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1523, allocations: 39.22 kB / 470.6 MB, free: 1.148 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 2.454e-06/0.1523, allocations: 0 / 470.6 MB, free: 1.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.002874/0.1552, allocations: 1.248 MB / 471.8 MB, free: 15.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1553, allocations: 60.06 kB / 471.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/0.1558, allocations: 499 kB / 472.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.1559, allocations: 41.64 kB / 472.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.1561, allocations: 375.7 kB / 472.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.1563, allocations: 268.1 kB / 473 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.1565, allocations: 134.5 kB / 473.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1567, allocations: 374.8 kB / 473.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.1571, allocations: 217.9 kB / 473.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.1575, allocations: 336.3 kB / 474.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008292/0.1583, allocations: 0.5937 MB / 474.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.1583, allocations: 0 / 474.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001496/0.1599, allocations: 0.8681 MB / 475.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.1599, allocations: 8 kB / 475.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1599, allocations: 0 / 475.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.1606, allocations: 177 kB / 475.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/0.1614, allocations: 203.7 kB / 475.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/0.1642, allocations: 2.331 MB / 478.2 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/0.1648, allocations: 55.5 kB / 478.3 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.1649, allocations: 28 kB / 478.3 MB, free: 9.09 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.0003129/0.1652, allocations: 221.7 kB / 478.5 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.1653, allocations: 75.16 kB / 478.6 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.1667, allocations: 0.8023 MB / 479.4 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.1667, allocations: 8 kB / 479.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1668, allocations: 8 kB / 479.4 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1668, allocations: 3.984 kB / 479.4 MB, free: 7.953 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.00241/0.1692, allocations: 1.733 MB / 481.2 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1692, allocations: 0 / 481.2 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006793/0.1699, allocations: 163.8 kB / 481.3 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.1704, allocations: 176.7 kB / 481.5 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.835e-05/0.1704, allocations: 12 kB / 481.5 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002742/0.1732, allocations: 2.324 MB / 483.8 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1732, allocations: 4 kB / 483.8 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.1753, allocations: 1.796 MB / 485.6 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.1756, allocations: 208.1 kB / 485.8 MB, free: 1.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.1757, allocations: 12 kB / 485.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.1761, allocations: 35.77 kB / 485.9 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.411e-05/0.1762, allocations: 48.59 kB / 485.9 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.1762, allocations: 16 kB / 486 MB, free: 1.141 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004241/0.1767, allocations: 346.8 kB / 486.3 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1767, allocations: 0 / 486.3 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008995/0.1776, allocations: 279.8 kB / 486.6 MB, free: 0.5312 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.0003096/0.1779, allocations: 179.3 kB / 486.7 MB, free: 356 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1765/0.3544, allocations: 0.8104 MB / 487.6 MB, free: 49.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3544, allocations: 0 / 487.6 MB, free: 49.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008983/0.3553, allocations: 0.5279 MB / 488.1 MB, free: 49.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008182/0.3562, allocations: 83.5 kB / 488.2 MB, free: 49.66 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.002819/0.359, allocations: 2.033 MB / 490.2 MB, free: 48.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.3595, allocations: 0.9546 MB / 491.1 MB, free: 47.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004626/0.3599, allocations: 93.45 kB / 491.2 MB, free: 47.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.3601, allocations: 48.48 kB / 491.3 MB, free: 47.82 MB / 330.7 MB Notification: Performance of SimCode: time 2.144e-06/0.3601, allocations: 0 / 491.3 MB, free: 47.82 MB / 330.7 MB Notification: Performance of Templates: time 0.01644/0.3765, allocations: 8.111 MB / 499.4 MB, free: 46.14 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.sim & ./PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe 2>&1)