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.001404/0.001403, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.434/1.434, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001553/0.001553, allocations: 112.9 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1674/0.1674, allocations: 37.92 MB / 330.9 MB, free: 7.328 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.371e-05/1.374e-05, allocations: 4 kB / 390.4 MB, free: 78.24 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08167/0.08169, allocations: 53.24 MB / 443.6 MB, free: 25.1 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3177/0.3995, allocations: 90.77 MB / 0.5218 GB, free: 10.54 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.3997, allocations: 93.42 kB / 0.5219 GB, free: 10.52 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03064/0.4304, allocations: 12.42 MB / 0.5341 GB, free: 5.367 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4304, allocations: 4 kB / 0.5341 GB, free: 5.363 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.666e-05/0.4305, allocations: 7.656 kB / 0.5341 GB, free: 5.363 MB / 347.1 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.0009545/0.4314, allocations: 0.6053 MB / 0.5347 GB, free: 4.848 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.4315, allocations: 7.688 kB / 0.5347 GB, free: 4.848 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000584/0.432, allocations: 87.75 kB / 0.5347 GB, free: 4.793 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.4339, allocations: 0.8448 MB / 0.5356 GB, free: 4.07 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.4339, allocations: 16 kB / 0.5356 GB, free: 4.055 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.434, allocations: 24.33 kB / 0.5356 GB, free: 4.031 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003655/0.4344, allocations: 268.2 kB / 0.5359 GB, free: 3.859 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.4348, allocations: 402.7 kB / 0.5363 GB, free: 3.539 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4349, allocations: 7.922 kB / 0.5363 GB, free: 3.531 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.4349, allocations: 4 kB / 0.5363 GB, free: 3.527 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.4349, allocations: 24.77 kB / 0.5363 GB, free: 3.504 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.4365, allocations: 1.62 MB / 0.5379 GB, free: 2.016 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.4367, allocations: 142.5 kB / 0.538 GB, free: 1.895 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.4368, allocations: 95.06 kB / 0.5381 GB, free: 1.824 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.4369, allocations: 4.75 kB / 0.5381 GB, free: 1.82 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.4369, allocations: 41.94 kB / 0.5381 GB, free: 1.773 MB / 347.1 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.4369, allocations: 4 kB / 0.5381 GB, free: 1.77 MB / 347.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008543/0.4377, allocations: 0.644 MB / 0.5388 GB, free: 1.152 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.4378, allocations: 80.3 kB / 0.5389 GB, free: 1.059 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.438, allocations: 232.1 kB / 0.5391 GB, free: 0.8594 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.438, allocations: 29.69 kB / 0.5391 GB, free: 0.8242 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.4381, allocations: 253.8 kB / 0.5393 GB, free: 0.6172 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.4381, allocations: 70.11 kB / 0.5394 GB, free: 0.5586 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.4381, allocations: 0 / 0.5394 GB, free: 0.5586 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.4382, allocations: 342.1 kB / 0.5397 GB, free: 232 kB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.4383, allocations: 87.19 kB / 0.5398 GB, free: 172 kB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.4385, allocations: 181.3 kB / 0.54 GB, free: 15.98 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.4387, allocations: 114.2 kB / 0.5401 GB, free: 15.91 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4387, allocations: 0 / 0.5401 GB, free: 15.91 MB / 363.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007781/0.4395, allocations: 420.1 kB / 0.5405 GB, free: 15.57 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4395, allocations: 8 kB / 0.5405 GB, free: 15.56 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005042/0.44, allocations: 271.8 kB / 0.5408 GB, free: 15.36 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004277/0.4404, allocations: 124.2 kB / 0.5409 GB, free: 15.26 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.4406, allocations: 51.86 kB / 0.5409 GB, free: 15.21 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.4429, allocations: 2.036 MB / 0.5429 GB, free: 13.33 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.4431, allocations: 8 kB / 0.5429 GB, free: 13.32 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.4431, allocations: 19.92 kB / 0.543 GB, free: 13.31 MB / 363.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 () * 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 9.55e-05/0.4432, allocations: 112.8 kB / 0.5431 GB, free: 13.19 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.4433, allocations: 27.72 kB / 0.5431 GB, free: 13.16 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.4436, allocations: 237.5 kB / 0.5433 GB, free: 12.98 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4436, allocations: 4.062 kB / 0.5433 GB, free: 12.98 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.4437, allocations: 4 kB / 0.5433 GB, free: 12.97 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4437, allocations: 3.953 kB / 0.5433 GB, free: 12.97 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000945/0.4446, allocations: 0.6391 MB / 0.5439 GB, free: 12.39 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4446, allocations: 3.984 kB / 0.544 GB, free: 12.39 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.4448, allocations: 36.05 kB / 0.544 GB, free: 12.36 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.87e-05/0.4449, allocations: 32.34 kB / 0.544 GB, free: 12.33 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.445, allocations: 12 kB / 0.544 GB, free: 12.32 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.446, allocations: 1.415 MB / 0.5454 GB, free: 10.86 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.446, allocations: 0 / 0.5454 GB, free: 10.86 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.4465, allocations: 447.8 kB / 0.5458 GB, free: 10.45 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.4466, allocations: 100.7 kB / 0.5459 GB, free: 10.34 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.4466, allocations: 4.031 kB / 0.5459 GB, free: 10.33 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.4468, allocations: 4 kB / 0.5459 GB, free: 10.33 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.4468, allocations: 22.56 kB / 0.546 GB, free: 10.31 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.4468, allocations: 4 kB / 0.546 GB, free: 10.3 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.447, allocations: 191.3 kB / 0.5461 GB, free: 10.15 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.447, allocations: 0 / 0.5461 GB, free: 10.15 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0004541/0.4475, allocations: 84 kB / 0.5462 GB, free: 10.07 MB / 363.1 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.0001701/0.4476, allocations: 123.1 kB / 0.5463 GB, free: 9.934 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0005528/0.4482, allocations: 359.8 kB / 0.5467 GB, free: 9.641 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4482, allocations: 192 / 0.5467 GB, free: 9.641 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.4485, allocations: 222.5 kB / 0.5469 GB, free: 9.438 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.4489, allocations: 46.69 kB / 0.5469 GB, free: 9.406 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.4499, allocations: 0.6465 MB / 0.5476 GB, free: 8.773 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.4504, allocations: 0.8513 MB / 0.5484 GB, free: 7.91 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.000192/0.4506, allocations: 59.23 kB / 0.5485 GB, free: 7.855 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.4507, allocations: 23.44 kB / 0.5485 GB, free: 7.832 MB / 363.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4507, allocations: 0 / 0.5485 GB, free: 7.832 MB / 363.1 MB Notification: Performance of Templates: time 0.006645/0.4573, allocations: 3.519 MB / 0.5519 GB, free: 4.359 MB / 363.1 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)