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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00092/0.0009201, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001003/0.001003, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05806/0.05806, allocations: 14.16 MB / 284.5 MB, free: 7.145 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.0005385/0.0005387, allocations: 12 kB / 346.1 MB, free: 19.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.111, allocations: 51.12 MB / 397.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.01117/0.1223, allocations: 5.989 MB / 403.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008478/0.1308, allocations: 3.21 MB / 406.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006912/0.1315, allocations: 19.88 kB / 406.5 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.1327, allocations: 314.4 kB / 406.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005694/0.1385, allocations: 1.332 MB / 408.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.1402, allocations: 493.6 kB / 408.6 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003593/0.1439, allocations: 1.322 MB / 409.9 MB, free: 4.066 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.1443, allocations: 118.4 kB / 410 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.1455, allocations: 0.4943 MB / 410.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009341/0.1464, allocations: 0.4942 MB / 411 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.133e-05/0.1465, allocations: 24 kB / 411 MB, free: 2.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.1479, allocations: 331.7 kB / 411.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.148, allocations: 107.4 kB / 411.5 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003116/0.1484, allocations: 209.3 kB / 411.7 MB, free: 2.285 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.1503, allocations: 0.9976 MB / 412.7 MB, free: 1.285 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1503, allocations: 0 / 412.7 MB, free: 1.285 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1503, allocations: 0 / 412.7 MB, free: 1.285 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.1504, allocations: 0 / 412.7 MB, free: 1.285 MB / 302.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.009229/0.1596, allocations: 1.516 MB / 414.2 MB, free: 15.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.1597, allocations: 8.031 kB / 414.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.1611, allocations: 158.7 kB / 414.3 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/0.1634, allocations: 0.6209 MB / 415 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.619e-05/0.1635, allocations: 58 kB / 415 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.1637, allocations: 71.98 kB / 415.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.166, allocations: 0.7537 MB / 415.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.1661, allocations: 0 / 415.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.1662, allocations: 32 kB / 415.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.1662, allocations: 16 kB / 415.9 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.1685, allocations: 0.7026 MB / 416.6 MB, free: 13.23 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.00895/0.1774, allocations: 4.685 MB / 421.3 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.1805, allocations: 0.9517 MB / 422.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-05/0.1806, allocations: 12.66 kB / 422.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.1807, allocations: 43.22 kB / 422.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 3.967e-06/0.1807, allocations: 3.938 kB / 422.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.004749/0.1854, allocations: 1.222 MB / 423.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.1855, allocations: 64.05 kB / 423.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.1866, allocations: 0.4912 MB / 424.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.1867, allocations: 37.7 kB / 424.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.1871, allocations: 367.8 kB / 424.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/0.1875, allocations: 264.1 kB / 424.7 MB, free: 4.473 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.1876, allocations: 19.94 kB / 424.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.1879, allocations: 378.7 kB / 425.1 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006945/0.1886, allocations: 209.9 kB / 425.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.1891, allocations: 328.3 kB / 425.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.1896, allocations: 274.9 kB / 425.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1896, allocations: 0 / 425.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001481/0.1911, allocations: 0.8526 MB / 426.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1911, allocations: 4 kB / 426.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1912, allocations: 4 kB / 426.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/0.1917, allocations: 180.7 kB / 426.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008293/0.1926, allocations: 192 kB / 427.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1717/0.3643, allocations: 2.38 MB / 429.5 MB, free: 24.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/0.3651, allocations: 54.72 kB / 429.6 MB, free: 24.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.903e-05/0.3652, allocations: 27.36 kB / 429.6 MB, free: 24.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004334/0.3656, allocations: 227.2 kB / 429.8 MB, free: 24.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.3659, allocations: 79.58 kB / 429.9 MB, free: 24.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.3675, allocations: 0.7953 MB / 430.7 MB, free: 24.78 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.3675, allocations: 8.25 kB / 430.7 MB, free: 24.78 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.3675, allocations: 7.359 kB / 430.7 MB, free: 24.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.3675, allocations: 7.188 kB / 430.7 MB, free: 24.77 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.002973/0.3705, allocations: 1.714 MB / 432.4 MB, free: 24.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3705, allocations: 2.125 kB / 432.4 MB, free: 24.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/0.3713, allocations: 167.6 kB / 432.6 MB, free: 24.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005902/0.3719, allocations: 167.4 kB / 432.7 MB, free: 24.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.996e-05/0.372, allocations: 17.97 kB / 432.8 MB, free: 24.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/0.3749, allocations: 2.37 MB / 435.1 MB, free: 23.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3749, allocations: 6.547 kB / 435.1 MB, free: 23.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.3763, allocations: 0.8546 MB / 436 MB, free: 22.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/0.3767, allocations: 206.1 kB / 436.2 MB, free: 22.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.3768, allocations: 13.66 kB / 436.2 MB, free: 22.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007639/0.3776, allocations: 31.25 kB / 436.2 MB, free: 22.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.3778, allocations: 54.22 kB / 436.3 MB, free: 22.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.166e-05/0.3779, allocations: 18.41 kB / 436.3 MB, free: 22.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006562/0.3785, allocations: 341.8 kB / 436.6 MB, free: 22.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3785, allocations: 0 / 436.6 MB, free: 22.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001375/0.3799, allocations: 281.3 kB / 436.9 MB, free: 22.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003496/0.3803, allocations: 175.1 kB / 437.1 MB, free: 22.51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.3822, allocations: 0.8031 MB / 437.9 MB, free: 22.37 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3823, allocations: 0 / 437.9 MB, free: 22.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.3833, allocations: 0.5173 MB / 438.4 MB, free: 22.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006198/0.384, allocations: 73.61 kB / 438.5 MB, free: 22.23 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.3868, allocations: 1.49 MB / 440 MB, free: 21.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.3874, allocations: 0.9538 MB / 440.9 MB, free: 20.74 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007327/0.3881, allocations: 89.23 kB / 441 MB, free: 20.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.3883, allocations: 52.42 kB / 441.1 MB, free: 20.71 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.3883, allocations: 4 kB / 441.1 MB, free: 20.7 MB / 318.1 MB Notification: Performance of Templates: time 0.02137/0.4097, allocations: 7.418 MB / 448.5 MB, free: 19.2 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: