Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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.TwoBusesPowerTransferTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001575, allocations: 182 kB / 15.98 MB, free: 5.766 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.429/1.429, 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.000993/0.0009931, allocations: 113.1 kB / 269.2 MB, free: 8.418 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05918/0.05918, allocations: 14.18 MB / 330.7 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 55.91 kB / 391.6 MB, free: 64.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08157/0.08262, allocations: 50.14 MB / 441.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.005363/0.08802, allocations: 7.437 MB / 449.2 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004044/0.0921, allocations: 3.546 MB / 452.8 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005939/0.09272, allocations: 15.94 kB / 452.8 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008701/0.09363, allocations: 370.4 kB / 453.1 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.0966, allocations: 1.47 MB / 454.6 MB, free: 1.832 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.09762, allocations: 0.5528 MB / 455.2 MB, free: 1.277 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002738/0.1004, allocations: 1.871 MB / 457 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.1006, allocations: 122.2 kB / 457.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007592/0.1014, allocations: 0.4897 MB / 457.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005821/0.102, allocations: 0.5249 MB / 458.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.657e-05/0.1021, allocations: 28 kB / 458.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009641/0.1031, allocations: 371.6 kB / 458.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.1032, allocations: 115.3 kB / 458.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005247/0.1037, allocations: 493.3 kB / 459.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.1055, allocations: 1.336 MB / 460.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1055, allocations: 0 / 460.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1055, allocations: 0 / 460.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1055, allocations: 0 / 460.5 MB, free: 11.93 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.004827/0.1103, allocations: 1.676 MB / 462.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1104, allocations: 8.031 kB / 462.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005736/0.111, allocations: 155.7 kB / 462.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.1122, allocations: 0.6452 MB / 463 MB, free: 9.355 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.1122, allocations: 58.38 kB / 463 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.731e-05/0.1123, allocations: 71.94 kB / 463.1 MB, free: 9.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.1135, allocations: 0.7503 MB / 463.8 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1135, allocations: 4 kB / 463.8 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.927e-05/0.1136, allocations: 32 kB / 463.9 MB, free: 8.418 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.1136, allocations: 20 kB / 463.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.1147, allocations: 0.73 MB / 464.6 MB, free: 7.668 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.004742/0.1195, allocations: 4.409 MB / 469 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.1215, allocations: 1.166 MB / 470.2 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.1219, allocations: 320.2 kB / 470.5 MB, free: 1.188 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.291e-05/0.122, allocations: 20.59 kB / 470.5 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1221, allocations: 43.09 kB / 470.6 MB, free: 1.117 MB / 314.7 MB Notification: Performance of pre-optimization done (n=82): time 3.236e-06/0.1221, allocations: 4 kB / 470.6 MB, free: 1.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=82): time 0.002995/0.1251, allocations: 1.26 MB / 471.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.1251, allocations: 67.94 kB / 471.9 MB, free: 15.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.1257, allocations: 491 kB / 472.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.1258, allocations: 41.7 kB / 472.4 MB, free: 15.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.126, allocations: 352 kB / 472.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.1263, allocations: 279.8 kB / 473 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.1265, allocations: 130.6 kB / 473.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1267, allocations: 378.8 kB / 473.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.127, allocations: 217.9 kB / 473.8 MB, free: 13.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/0.1275, allocations: 320.9 kB / 474.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008534/0.1283, allocations: 0.5786 MB / 474.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1283, allocations: 0 / 474.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001443/0.1298, allocations: 0.8565 MB / 475.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1298, allocations: 4 kB / 475.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1298, allocations: 8.188 kB / 475.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/0.1304, allocations: 188.3 kB / 475.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/0.1312, allocations: 195.7 kB / 475.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002929/0.1342, allocations: 2.325 MB / 478.2 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/0.1348, allocations: 51.59 kB / 478.3 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.1348, allocations: 24 kB / 478.3 MB, free: 9.129 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0003264/0.1351, allocations: 225.6 kB / 478.5 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.1353, allocations: 83.11 kB / 478.6 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.1368, allocations: 0.8299 MB / 479.4 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.1368, allocations: 8 kB / 479.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1368, allocations: 0 / 479.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.1368, allocations: 7.922 kB / 479.4 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.1394, allocations: 1.894 MB / 481.3 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1395, allocations: 0 / 481.3 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000766/0.1402, allocations: 167.8 kB / 481.5 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005068/0.1407, allocations: 176.2 kB / 481.7 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/0.1408, allocations: 16 kB / 481.7 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00285/0.1437, allocations: 2.332 MB / 484 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1437, allocations: 0 / 484 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.1459, allocations: 1.842 MB / 485.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.1463, allocations: 208.1 kB / 486.1 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.33e-05/0.1464, allocations: 16 kB / 486.1 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000445/0.1468, allocations: 31.78 kB / 486.1 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.1469, allocations: 56.58 kB / 486.2 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.147, allocations: 16 kB / 486.2 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000456/0.1474, allocations: 338.9 kB / 486.5 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1475, allocations: 3.938 kB / 486.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001056/0.1485, allocations: 279.8 kB / 486.8 MB, free: 300 kB / 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 (67): * Single equations (assignments): 66 * 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.000292/0.1488, allocations: 171.2 kB / 487 MB, free: 120 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1568/0.3056, allocations: 0.8277 MB / 487.8 MB, free: 49.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3056, allocations: 0 / 487.8 MB, free: 49.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007784/0.3064, allocations: 0.5421 MB / 488.3 MB, free: 49.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007674/0.3072, allocations: 86.39 kB / 488.4 MB, free: 49.68 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.002493/0.3097, allocations: 2.058 MB / 490.5 MB, free: 48.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.3102, allocations: 0.9582 MB / 491.4 MB, free: 47.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004334/0.3106, allocations: 89.09 kB / 491.5 MB, free: 47.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.3108, allocations: 51 kB / 491.6 MB, free: 47.75 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3108, allocations: 0 / 491.6 MB, free: 47.75 MB / 330.7 MB Notification: Performance of Templates: time 0.01607/0.3268, allocations: 8.202 MB / 499.8 MB, free: 45.98 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & ./PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1)