Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001467/0.001467, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.149/1.149, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001573/0.001573, allocations: 118.9 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1833/0.1833, allocations: 38 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07732/0.07768, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2954/0.3731, allocations: 91.36 MB / 0.5355 GB, free: 3.992 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.3734, allocations: 86.95 kB / 0.5356 GB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03071/0.4041, allocations: 12.52 MB / 0.5478 GB, free: 9.184 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4042, allocations: 0 / 0.5478 GB, free: 9.184 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.4042, allocations: 8 kB / 0.5478 GB, free: 9.176 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009913/0.4052, allocations: 0.6645 MB / 0.5485 GB, free: 8.496 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.4052, allocations: 12.02 kB / 0.5485 GB, free: 8.484 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005361/0.4058, allocations: 95.38 kB / 0.5486 GB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.4078, allocations: 0.8665 MB / 0.5494 GB, free: 7.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.4078, allocations: 24.22 kB / 0.5494 GB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/0.4079, allocations: 39.36 kB / 0.5495 GB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.4085, allocations: 470.3 kB / 0.5499 GB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4085, allocations: 4 kB / 0.5499 GB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.4086, allocations: 14.5 kB / 0.5499 GB, free: 7.215 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/0.4086, allocations: 24.38 kB / 0.55 GB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004658/0.4091, allocations: 338.5 kB / 0.5503 GB, free: 6.965 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.4111, allocations: 1.729 MB / 0.552 GB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.4113, allocations: 152 kB / 0.5521 GB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.4114, allocations: 0 / 0.5521 GB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.4114, allocations: 37.69 kB / 0.5522 GB, free: 5.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.4114, allocations: 0 / 0.5522 GB, free: 5.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001342/0.4127, allocations: 0.8924 MB / 0.553 GB, free: 4.375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.4128, allocations: 81.23 kB / 0.5531 GB, free: 4.277 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.4131, allocations: 282.8 kB / 0.5534 GB, free: 4.035 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.4131, allocations: 28.33 kB / 0.5534 GB, free: 4.004 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.4132, allocations: 247.8 kB / 0.5536 GB, free: 3.801 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.4133, allocations: 65.48 kB / 0.5537 GB, free: 3.746 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.4133, allocations: 6.375 kB / 0.5537 GB, free: 3.742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4134, allocations: 342.9 kB / 0.554 GB, free: 3.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.4136, allocations: 94.91 kB / 0.5541 GB, free: 3.344 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.4138, allocations: 204 kB / 0.5543 GB, free: 3.141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.4139, allocations: 135 kB / 0.5545 GB, free: 3.059 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4139, allocations: 0 / 0.5545 GB, free: 3.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000791/0.4147, allocations: 481.4 kB / 0.5549 GB, free: 2.684 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4148, allocations: 4 kB / 0.5549 GB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000605/0.4154, allocations: 312.6 kB / 0.5552 GB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004858/0.4159, allocations: 133.2 kB / 0.5553 GB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.4161, allocations: 57.91 kB / 0.5554 GB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.4186, allocations: 2.266 MB / 0.5576 GB, free: 224 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.4188, allocations: 18.67 kB / 0.5576 GB, free: 212 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.4189, allocations: 10.94 kB / 0.5576 GB, free: 204 kB / 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 (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 0.0002085/0.4191, allocations: 184.7 kB / 0.5578 GB, free: 36 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.4191, allocations: 30.62 kB / 0.5578 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.4196, allocations: 273.5 kB / 0.5581 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4196, allocations: 0 / 0.5581 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4196, allocations: 4 kB / 0.5581 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4196, allocations: 3.984 kB / 0.5581 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.4206, allocations: 0.7401 MB / 0.5588 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4206, allocations: 0 / 0.5588 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.4208, allocations: 39.91 kB / 0.5589 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.732e-05/0.4209, allocations: 39.89 kB / 0.5589 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.421, allocations: 3.562 kB / 0.5589 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.421, allocations: 4 kB / 0.5589 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.421, allocations: 0 / 0.5589 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.4215, allocations: 477.3 kB / 0.5594 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.8e-05/0.4216, allocations: 104.4 kB / 0.5595 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.4216, allocations: 3.312 kB / 0.5595 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.4218, allocations: 23.97 kB / 0.5595 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.4218, allocations: 11.36 kB / 0.5595 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.4218, allocations: 4 kB / 0.5595 GB, free: 14.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001911/0.422, allocations: 222 kB / 0.5597 GB, free: 14.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.422, allocations: 0 / 0.5597 GB, free: 14.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004313/0.4225, allocations: 98.5 kB / 0.5598 GB, free: 14.2 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 () * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001647/0.4226, allocations: 130.6 kB / 0.5599 GB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006334/0.4233, allocations: 408.2 kB / 0.5603 GB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4233, allocations: 3.938 kB / 0.5603 GB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.4235, allocations: 172.2 kB / 0.5605 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.4238, allocations: 64.88 kB / 0.5606 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.4251, allocations: 1.077 MB / 0.5616 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.4255, allocations: 0.8448 MB / 0.5624 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.4257, allocations: 62.91 kB / 0.5625 GB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.4257, allocations: 27.44 kB / 0.5625 GB, free: 11.52 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4257, allocations: 0 / 0.5625 GB, free: 11.52 MB / 378.7 MB Notification: Performance of Templates: time 0.006943/0.4327, allocations: 3.749 MB / 0.5662 GB, free: 7.789 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)