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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001273/0.001273, allocations: 178.7 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.492/1.492, allocations: 194.5 MB / 212.6 MB, free: 2.949 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001624/0.001624, allocations: 109.7 kB / 257.9 MB, free: 4.258 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1859/0.1859, allocations: 38.02 MB / 341.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003815, allocations: 12 kB / 405 MB, free: 68.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1182, allocations: 53.24 MB / 458.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3892/0.5075, allocations: 90.28 MB / 0.5357 GB, free: 4.516 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.5078, allocations: 93.56 kB / 0.5358 GB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01995/0.5278, allocations: 7.36 MB / 0.543 GB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5278, allocations: 0 / 0.543 GB, free: 14.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.699e-05/0.5279, allocations: 11.98 kB / 0.543 GB, free: 14.11 MB / 362.7 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.001357/0.5292, allocations: 0.6305 MB / 0.5436 GB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5293, allocations: 8.031 kB / 0.5436 GB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.5295, allocations: 40.47 kB / 0.5436 GB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.5306, allocations: 0.5137 MB / 0.5441 GB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.5307, allocations: 18.86 kB / 0.5442 GB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/0.5307, allocations: 30 kB / 0.5442 GB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.5313, allocations: 342.2 kB / 0.5445 GB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.5313, allocations: 11.92 kB / 0.5445 GB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.5314, allocations: 6.125 kB / 0.5445 GB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.5314, allocations: 8 kB / 0.5445 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.5318, allocations: 239.9 kB / 0.5448 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.534, allocations: 1.366 MB / 0.5461 GB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.5345, allocations: 156.3 kB / 0.5462 GB, free: 11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.5347, allocations: 110.2 kB / 0.5464 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.5348, allocations: 0 / 0.5464 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/0.5348, allocations: 38.56 kB / 0.5464 GB, free: 10.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/0.5348, allocations: 3.938 kB / 0.5464 GB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001714/0.5366, allocations: 0.7425 MB / 0.5471 GB, free: 10.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.5366, allocations: 81.05 kB / 0.5472 GB, free: 10.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.5371, allocations: 297 kB / 0.5475 GB, free: 9.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.5371, allocations: 27.83 kB / 0.5475 GB, free: 9.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.5373, allocations: 213.7 kB / 0.5477 GB, free: 9.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.5373, allocations: 64.42 kB / 0.5478 GB, free: 9.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.5374, allocations: 7.125 kB / 0.5478 GB, free: 9.531 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.5376, allocations: 339.2 kB / 0.5481 GB, free: 9.203 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.5377, allocations: 64.53 kB / 0.5482 GB, free: 9.156 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.5379, allocations: 167.8 kB / 0.5483 GB, free: 8.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.5382, allocations: 240.8 kB / 0.5486 GB, free: 8.742 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.5382, allocations: 8 kB / 0.5486 GB, free: 8.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004964/0.5387, allocations: 306.2 kB / 0.5489 GB, free: 8.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.5388, allocations: 7.938 kB / 0.5489 GB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5388, allocations: 4.438 kB / 0.5489 GB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/0.539, allocations: 57.81 kB / 0.5489 GB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.5392, allocations: 43.92 kB / 0.549 GB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.5406, allocations: 1.467 MB / 0.5504 GB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.5407, allocations: 7.375 kB / 0.5504 GB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.5408, allocations: 8 kB / 0.5504 GB, free: 6.852 MB / 362.7 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 (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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002609/0.541, allocations: 177.2 kB / 0.5506 GB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.5411, allocations: 27.62 kB / 0.5506 GB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004299/0.5415, allocations: 228.8 kB / 0.5508 GB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.5415, allocations: 4 kB / 0.5508 GB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5416, allocations: 0 / 0.5508 GB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.5416, allocations: 0 / 0.5508 GB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009152/0.5425, allocations: 0.6365 MB / 0.5514 GB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5425, allocations: 0 / 0.5514 GB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.5426, allocations: 27.92 kB / 0.5515 GB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/0.5428, allocations: 58.58 kB / 0.5515 GB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.5428, allocations: 3 kB / 0.5515 GB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.544, allocations: 1.46 MB / 0.553 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.544, allocations: 0 / 0.553 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004802/0.5445, allocations: 395.3 kB / 0.5533 GB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.054e-05/0.5446, allocations: 104.9 kB / 0.5534 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.5447, allocations: 19.11 kB / 0.5535 GB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.5448, allocations: 0 / 0.5535 GB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.5449, allocations: 19.03 kB / 0.5535 GB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.5449, allocations: 4 kB / 0.5535 GB, free: 3.793 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002127/0.5451, allocations: 216 kB / 0.5537 GB, free: 3.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5451, allocations: 0 / 0.5537 GB, free: 3.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004003/0.5455, allocations: 70.81 kB / 0.5537 GB, free: 3.551 MB / 362.7 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 (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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000159/0.5457, allocations: 106.6 kB / 0.5539 GB, free: 3.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005117/0.5462, allocations: 284 kB / 0.5541 GB, free: 3.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5462, allocations: 0 / 0.5541 GB, free: 3.191 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.5466, allocations: 200.4 kB / 0.5543 GB, free: 3.004 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.5471, allocations: 60.48 kB / 0.5544 GB, free: 2.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.5486, allocations: 0.885 MB / 0.5552 GB, free: 2.086 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.5491, allocations: 0.811 MB / 0.556 GB, free: 1.258 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000186/0.5493, allocations: 46.88 kB / 0.5561 GB, free: 1.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.5494, allocations: 23.44 kB / 0.5561 GB, free: 1.191 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5494, allocations: 0 / 0.5561 GB, free: 1.191 MB / 362.7 MB Notification: Performance of Templates: time 0.006729/0.5561, allocations: 2.725 MB / 0.5588 GB, free: 14.48 MB / 378.7 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)