Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 102.2 kB / 16.35 MB, free: 5.895 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.001163/0.001163, allocations: 189.8 kB / 17.29 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07396/0.07396, allocations: 16.75 MB / 307.9 MB, free: 14.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 65.25 kB / 373.1 MB, free: 48.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1176, allocations: 53.56 MB / 426.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.004458/0.1221, allocations: 4.553 MB / 431.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.1252, allocations: 2.48 MB / 433.7 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.1255, allocations: 11.94 kB / 433.7 MB, free: 4.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.1261, allocations: 258.5 kB / 434 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.1283, allocations: 1.154 MB / 435.1 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.1289, allocations: 326.7 kB / 435.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009349/0.1298, allocations: 1.019 MB / 436.5 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.13, allocations: 65.73 kB / 436.5 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.1303, allocations: 350.5 kB / 436.9 MB, free: 1.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.1306, allocations: 366.4 kB / 437.2 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.1307, allocations: 36 kB / 437.3 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005828/0.1313, allocations: 275.8 kB / 437.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.963e-05/0.1314, allocations: 107.4 kB / 437.7 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.1316, allocations: 334.2 kB / 438 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009292/0.1326, allocations: 0.8489 MB / 438.8 MB, free: 15.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.1326, allocations: 4 kB / 438.8 MB, free: 15.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1326, allocations: 4 kB / 438.8 MB, free: 15.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1326, allocations: 3.938 kB / 438.8 MB, free: 15.78 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002742/0.1354, allocations: 1.067 MB / 439.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.1354, allocations: 12.03 kB / 439.9 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.1358, allocations: 92.09 kB / 440 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009633/0.1368, allocations: 0.5064 MB / 440.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.1368, allocations: 33.31 kB / 440.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.1369, allocations: 40.38 kB / 440.6 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006431/0.1375, allocations: 495.6 kB / 441.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1375, allocations: 7.938 kB / 441.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.1376, allocations: 16 kB / 441.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.1376, allocations: 16 kB / 441.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004661/0.1381, allocations: 333.8 kB / 441.4 MB, free: 13.01 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.003374/0.1414, allocations: 3.399 MB / 444.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.142, allocations: 307.5 kB / 445.1 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1422, allocations: 92.83 kB / 445.2 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.1422, allocations: 4 kB / 445.2 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1423, allocations: 38.56 kB / 445.3 MB, free: 8.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.264e-06/0.1423, allocations: 0 / 445.3 MB, free: 8.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.000849/0.1431, allocations: 459.3 kB / 445.7 MB, free: 8.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.1432, allocations: 51.41 kB / 445.8 MB, free: 8.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006187/0.1438, allocations: 0.5494 MB / 446.3 MB, free: 7.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.1439, allocations: 33.7 kB / 446.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.1441, allocations: 311.9 kB / 446.7 MB, free: 7.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1442, allocations: 126.5 kB / 446.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.1445, allocations: 226.7 kB / 447 MB, free: 7.129 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1446, allocations: 378.7 kB / 447.4 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.1451, allocations: 282.5 kB / 447.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/0.1456, allocations: 386.5 kB / 448 MB, free: 6.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.1463, allocations: 0.5334 MB / 448.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1463, allocations: 0 / 448.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001299/0.1476, allocations: 0.9227 MB / 449.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.1476, allocations: 4 kB / 449.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.1476, allocations: 4 kB / 449.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.1478, allocations: 28.84 kB / 449.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008406/0.1487, allocations: 239.8 kB / 449.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.15, allocations: 1.433 MB / 451.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007159/0.1507, allocations: 75.39 kB / 451.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.978e-05/0.1508, allocations: 39.98 kB / 451.3 MB, free: 2.641 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (load.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002548/0.151, allocations: 198.4 kB / 451.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.716e-05/0.1511, allocations: 55.44 kB / 451.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.1517, allocations: 316.5 kB / 451.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1517, allocations: 0 / 451.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1517, allocations: 4 kB / 451.9 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1517, allocations: 3.984 kB / 451.9 MB, free: 2.051 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.001348/0.1531, allocations: 1.069 MB / 452.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1531, allocations: 0 / 452.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.1532, allocations: 47.92 kB / 453 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.1534, allocations: 28.84 kB / 453 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.1534, allocations: 4 kB / 453 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.1545, allocations: 1.438 MB / 454.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1545, allocations: 0 / 454.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/0.155, allocations: 442.5 kB / 454.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.1552, allocations: 172.3 kB / 455 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.173e-05/0.1553, allocations: 11.98 kB / 455.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.1557, allocations: 19.98 kB / 455.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.1558, allocations: 31.91 kB / 455.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.1558, allocations: 12 kB / 455.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004199/0.1563, allocations: 370.8 kB / 455.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1563, allocations: 0 / 455.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006728/0.1569, allocations: 231.8 kB / 455.7 MB, free: 13.9 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 26 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002755/0.1572, allocations: 159 kB / 455.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.1583, allocations: 0.7012 MB / 456.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1583, allocations: 0 / 456.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.1586, allocations: 231.3 kB / 456.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.1591, allocations: 55.36 kB / 456.8 MB, free: 12.73 MB / 334.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.001273/0.1604, allocations: 0.8352 MB / 457.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.1608, allocations: 0.8319 MB / 458.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002758/0.1611, allocations: 92.95 kB / 458.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1612, allocations: 51.42 kB / 458.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1612, allocations: 0 / 458.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of Templates: time 0.01227/0.1735, allocations: 6.82 MB / 465.5 MB, free: 4.031 MB / 334.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe 2>&1)