Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 107.7 kB / 16.92 MB, free: 5.695 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.00124/0.00124, allocations: 192.7 kB / 17.85 MB, free: 5.195 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.387/1.387, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1951/0.1951, allocations: 38.03 MB / 329.7 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 56.11 kB / 398.8 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1236, allocations: 58.06 MB / 456.9 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.007507/0.1312, allocations: 4.334 MB / 461.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.1331, allocations: 0.9428 MB / 462.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003275/0.1335, allocations: 15.88 kB / 462.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.1338, allocations: 51.5 kB / 462.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008142/0.1346, allocations: 246.8 kB / 462.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.135, allocations: 99.8 kB / 462.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008148/0.1359, allocations: 0.4945 MB / 463 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.1362, allocations: 147.9 kB / 463.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005092/0.1367, allocations: 223 kB / 463.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005663/0.1373, allocations: 267.1 kB / 463.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.624e-05/0.1374, allocations: 24 kB / 463.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1375, allocations: 24 kB / 463.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.1377, allocations: 147.6 kB / 463.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.138, allocations: 171.1 kB / 464 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.1385, allocations: 366.6 kB / 464.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1385, allocations: 0 / 464.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1385, allocations: 0 / 464.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.1385, allocations: 3.938 kB / 464.4 MB, free: 0.4961 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001273/0.1398, allocations: 0.6555 MB / 465 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1399, allocations: 15.89 kB / 465 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.56e-05/0.14, allocations: 36.47 kB / 465.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.1405, allocations: 359.8 kB / 465.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1406, allocations: 20.69 kB / 465.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.1406, allocations: 31.94 kB / 465.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.1412, allocations: 352.7 kB / 465.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1412, allocations: 0 / 465.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.1412, allocations: 12 kB / 465.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.1413, allocations: 24.53 kB / 465.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.1417, allocations: 246 kB / 466.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.1435, allocations: 1.374 MB / 467.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.1439, allocations: 163.1 kB / 467.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.1441, allocations: 105.7 kB / 467.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.1442, allocations: 7.984 kB / 467.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1442, allocations: 30.56 kB / 467.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.522e-06/0.1442, allocations: 0 / 467.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001418/0.1456, allocations: 0.7713 MB / 468.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.1457, allocations: 77.11 kB / 468.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.146, allocations: 304.4 kB / 468.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1461, allocations: 33.62 kB / 469 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.1462, allocations: 215.6 kB / 469.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.1463, allocations: 47.27 kB / 469.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.157e-05/0.1463, allocations: 53.61 kB / 469.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1465, allocations: 342.8 kB / 469.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.1466, allocations: 67.95 kB / 469.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.1468, allocations: 169.3 kB / 469.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.1471, allocations: 260.6 kB / 470.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1471, allocations: 0 / 470.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004901/0.1476, allocations: 321.8 kB / 470.4 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1476, allocations: 4 kB / 470.4 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1477, allocations: 4 kB / 470.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/0.1479, allocations: 49.27 kB / 470.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.1481, allocations: 55.91 kB / 470.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.1495, allocations: 1.605 MB / 472.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.1496, allocations: 11.98 kB / 472.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1497, allocations: 12 kB / 472.1 MB, free: 8.121 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 27 * 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.0001804/0.1499, allocations: 177.8 kB / 472.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.1499, allocations: 27.62 kB / 472.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.1503, allocations: 243.8 kB / 472.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1503, allocations: 0 / 472.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1504, allocations: 3.938 kB / 472.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1504, allocations: 4 kB / 472.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008822/0.1513, allocations: 0.6366 MB / 473.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1513, allocations: 0 / 473.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.1514, allocations: 19.98 kB / 473.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002026/0.1516, allocations: 64.78 kB / 473.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1516, allocations: 7.938 kB / 473.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.1529, allocations: 1.609 MB / 474.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1529, allocations: 160 / 474.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.1534, allocations: 409.3 kB / 475.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.1535, allocations: 104.8 kB / 475.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.1536, allocations: 4 kB / 475.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1537, allocations: 11.98 kB / 475.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.1537, allocations: 12.05 kB / 475.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.1538, allocations: 11.94 kB / 475.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.154, allocations: 211.1 kB / 475.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.154, allocations: 0 / 475.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003831/0.1544, allocations: 64 kB / 475.7 MB, free: 4.262 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001112/0.1545, allocations: 107.2 kB / 475.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005904/0.1551, allocations: 310.5 kB / 476.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1551, allocations: 0 / 476.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.1554, allocations: 203.5 kB / 476.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.1559, allocations: 77.36 kB / 476.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.1571, allocations: 0.7324 MB / 477.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.1575, allocations: 0.8104 MB / 478 MB, free: 1.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.1577, allocations: 42.95 kB / 478 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.1578, allocations: 19.44 kB / 478 MB, free: 1.891 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1578, allocations: 0 / 478 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Templates: time 0.007166/0.1649, allocations: 2.959 MB / 481 MB, free: 14.96 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)