Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 101.8 kB / 17.59 MB, free: 5.449 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.001229/0.00123, allocations: 187.3 kB / 18.51 MB, free: 4.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.332/1.332, allocations: 222.9 MB / 242.2 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1843/0.1843, allocations: 38.02 MB / 330.4 MB, free: 8.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001576, allocations: 62.94 kB / 399.5 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.117, allocations: 58.06 MB / 457.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.00705/0.1241, allocations: 4.545 MB / 462.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0028/0.1269, allocations: 1.562 MB / 463.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003353/0.1273, allocations: 19.88 kB / 463.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.1283, allocations: 290.6 kB / 463.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000742/0.129, allocations: 262.7 kB / 464.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007731/0.1298, allocations: 255.4 kB / 464.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008177/0.1307, allocations: 0.6118 MB / 465.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005068/0.1312, allocations: 256.3 kB / 465.3 MB, free: 260 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005776/0.1318, allocations: 266.9 kB / 465.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006622/0.1324, allocations: 326.9 kB / 465.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.306e-05/0.1326, allocations: 32 kB / 465.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.1329, allocations: 147.8 kB / 466.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.1332, allocations: 227.4 kB / 466.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.1336, allocations: 234.8 kB / 466.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008487/0.1345, allocations: 0.5918 MB / 467.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1345, allocations: 0 / 467.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.1345, allocations: 0 / 467.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.1345, allocations: 3.938 kB / 467.1 MB, free: 14.45 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001632/0.1362, allocations: 0.7613 MB / 467.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1362, allocations: 15.83 kB / 467.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006713/0.1369, allocations: 100.2 kB / 468 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.1376, allocations: 396 kB / 468.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.1376, allocations: 33.38 kB / 468.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.1378, allocations: 56.09 kB / 468.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009828/0.1388, allocations: 0.6599 MB / 469.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.1388, allocations: 7.938 kB / 469.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.1389, allocations: 16 kB / 469.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.139, allocations: 44.97 kB / 469.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007877/0.1398, allocations: 499.5 kB / 469.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003487/0.1433, allocations: 3.156 MB / 472.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.1438, allocations: 249.3 kB / 473.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.144, allocations: 117.7 kB / 473.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.144, allocations: 11.94 kB / 473.2 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.144, allocations: 42.44 kB / 473.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.1441, allocations: 0 / 473.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001499/0.1456, allocations: 0.8832 MB / 474.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.1456, allocations: 81.11 kB / 474.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.146, allocations: 336.3 kB / 474.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.146, allocations: 33.64 kB / 474.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.1463, allocations: 295 kB / 474.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.961e-05/0.1463, allocations: 86.75 kB / 474.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.1465, allocations: 90.16 kB / 475 MB, free: 6.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.1467, allocations: 350.7 kB / 475.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.1469, allocations: 128.8 kB / 475.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.1473, allocations: 317.7 kB / 475.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/0.1481, allocations: 0.5088 MB / 476.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.1481, allocations: 4 kB / 476.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001255/0.1494, allocations: 0.5848 MB / 476.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.1494, allocations: 12 kB / 476.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006625/0.1501, allocations: 333.3 kB / 477.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004338/0.1505, allocations: 113.6 kB / 477.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.1508, allocations: 91.81 kB / 477.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/0.1539, allocations: 3.285 MB / 480.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.1541, allocations: 12 kB / 480.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.1542, allocations: 27.98 kB / 480.8 MB, free: 15.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002457/0.1544, allocations: 213.7 kB / 481 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.1545, allocations: 31.62 kB / 481 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005104/0.155, allocations: 316.9 kB / 481.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.155, allocations: 4 kB / 481.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.155, allocations: 3.938 kB / 481.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1551, allocations: 0 / 481.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.1562, allocations: 0.8121 MB / 482.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1562, allocations: 0 / 482.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.1565, allocations: 59.91 kB / 482.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1565, allocations: 3.938 kB / 482.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.1565, allocations: 8 kB / 482.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.1565, allocations: 4 kB / 482.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1565, allocations: 3.938 kB / 482.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.1572, allocations: 0.5031 MB / 482.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.1573, allocations: 132.6 kB / 482.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.1574, allocations: 8 kB / 482.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.1575, allocations: 11.98 kB / 482.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.1576, allocations: 16.2 kB / 482.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.1576, allocations: 16 kB / 482.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.1578, allocations: 219.1 kB / 483.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1579, allocations: 0 / 483.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.1583, allocations: 100 kB / 483.2 MB, free: 13.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * 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: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001389/0.1585, allocations: 107.2 kB / 483.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009615/0.1594, allocations: 0.6111 MB / 483.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1595, allocations: 0 / 483.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.1597, allocations: 130.1 kB / 484 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.1602, allocations: 88.23 kB / 484.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.1619, allocations: 1.041 MB / 485.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.1624, allocations: 0.866 MB / 486 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.328e-05/0.1625, allocations: 35.44 kB / 486.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1626, allocations: 0 / 486.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of Templates: time 0.01034/0.1729, allocations: 6.499 MB / 492.6 MB, free: 3.805 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)