Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002257/0.002258, allocations: 181.9 kB / 13.64 MB, free: 1.676 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.802/1.802, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001664/0.001664, allocations: 134.2 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2014/0.2014, allocations: 37.9 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.468e-05, allocations: 7.984 kB / 397.5 MB, free: 1.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2458, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.37, allocations: 91.45 MB / 0.5295 GB, free: 1.895 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.3703, allocations: 83.95 kB / 0.5296 GB, free: 1.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2479/0.6182, allocations: 12.52 MB / 0.5418 GB, free: 85.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6183, allocations: 0 / 0.5418 GB, free: 85.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.6183, allocations: 8.062 kB / 0.5418 GB, free: 85.93 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0007509/0.619, allocations: 0.6071 MB / 0.5424 GB, free: 85.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.6191, allocations: 8.969 kB / 0.5424 GB, free: 85.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005529/0.6196, allocations: 91 kB / 0.5425 GB, free: 85.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.6215, allocations: 0.8568 MB / 0.5433 GB, free: 84.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.6215, allocations: 32.55 kB / 0.5434 GB, free: 84.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.935e-05/0.6216, allocations: 39.59 kB / 0.5434 GB, free: 84.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.6221, allocations: 457.4 kB / 0.5438 GB, free: 84.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.6222, allocations: 0 / 0.5438 GB, free: 84.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.6222, allocations: 11.97 kB / 0.5439 GB, free: 84.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.6222, allocations: 24.39 kB / 0.5439 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.6227, allocations: 317.6 kB / 0.5442 GB, free: 84.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.6244, allocations: 1.71 MB / 0.5459 GB, free: 82.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.6246, allocations: 145.2 kB / 0.546 GB, free: 82.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.6248, allocations: 109.6 kB / 0.5461 GB, free: 82.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.6248, allocations: 0 / 0.5461 GB, free: 82.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.6248, allocations: 38.38 kB / 0.5461 GB, free: 82.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.6248, allocations: 0 / 0.5461 GB, free: 82.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001009/0.6258, allocations: 0.6801 MB / 0.5468 GB, free: 81.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.6259, allocations: 81.06 kB / 0.5469 GB, free: 81.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.6261, allocations: 270.6 kB / 0.5471 GB, free: 81.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.6261, allocations: 33.7 kB / 0.5472 GB, free: 81.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/0.6262, allocations: 247.4 kB / 0.5474 GB, free: 81.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.6262, allocations: 63.09 kB / 0.5475 GB, free: 81.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.6263, allocations: 4 kB / 0.5475 GB, free: 81.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.6263, allocations: 338.8 kB / 0.5478 GB, free: 80.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.6265, allocations: 96.28 kB / 0.5479 GB, free: 80.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.6266, allocations: 185.7 kB / 0.5481 GB, free: 80.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.6268, allocations: 136.5 kB / 0.5482 GB, free: 80.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6268, allocations: 4 kB / 0.5482 GB, free: 80.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007021/0.6275, allocations: 445.9 kB / 0.5486 GB, free: 80 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.6275, allocations: 11.98 kB / 0.5486 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004829/0.628, allocations: 288.5 kB / 0.5489 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/0.6284, allocations: 124.9 kB / 0.549 GB, free: 79.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.6286, allocations: 51.92 kB / 0.5491 GB, free: 79.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.6306, allocations: 2.151 MB / 0.5512 GB, free: 77.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.6308, allocations: 19.94 kB / 0.5512 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.6309, allocations: 8 kB / 0.5512 GB, free: 77.22 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/0.6309, allocations: 120.7 kB / 0.5513 GB, free: 77.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.631, allocations: 35.61 kB / 0.5513 GB, free: 77.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.6314, allocations: 245.1 kB / 0.5516 GB, free: 76.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6314, allocations: 11.94 kB / 0.5516 GB, free: 76.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.6314, allocations: 7.938 kB / 0.5516 GB, free: 76.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6314, allocations: 3.984 kB / 0.5516 GB, free: 76.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009035/0.6323, allocations: 0.7116 MB / 0.5523 GB, free: 76.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6323, allocations: 4 kB / 0.5523 GB, free: 76.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.6325, allocations: 35.92 kB / 0.5523 GB, free: 75.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-05/0.6326, allocations: 40.89 kB / 0.5524 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.6326, allocations: 0 / 0.5524 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007872/0.6334, allocations: 1.486 MB / 0.5538 GB, free: 74.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6334, allocations: 3.984 kB / 0.5538 GB, free: 74.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.6338, allocations: 451.6 kB / 0.5543 GB, free: 73.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.6339, allocations: 108.7 kB / 0.5544 GB, free: 73.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.634, allocations: 8 kB / 0.5544 GB, free: 73.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.6341, allocations: 11.92 kB / 0.5544 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.6342, allocations: 19.98 kB / 0.5544 GB, free: 73.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.6342, allocations: 4 kB / 0.5544 GB, free: 73.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001518/0.6343, allocations: 210.2 kB / 0.5546 GB, free: 73.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6343, allocations: 0 / 0.5546 GB, free: 73.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004277/0.6348, allocations: 96 kB / 0.5547 GB, free: 73.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001604/0.6349, allocations: 127 kB / 0.5548 GB, free: 73.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005229/0.6355, allocations: 396.7 kB / 0.5552 GB, free: 72.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6355, allocations: 4.125 kB / 0.5552 GB, free: 72.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.6357, allocations: 223.4 kB / 0.5554 GB, free: 72.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.6361, allocations: 50.45 kB / 0.5555 GB, free: 72.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008451/0.6369, allocations: 0.6664 MB / 0.5561 GB, free: 71.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.6372, allocations: 0.8538 MB / 0.5569 GB, free: 70.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.6374, allocations: 54.94 kB / 0.557 GB, free: 70.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.6374, allocations: 27.42 kB / 0.557 GB, free: 70.89 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6374, allocations: 3.938 kB / 0.557 GB, free: 70.89 MB / 378.7 MB Notification: Performance of Templates: time 0.006295/0.6437, allocations: 3.938 MB / 0.5609 GB, free: 66.98 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)