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.001436/0.001436, allocations: 184 kB / 8.354 MB, free: 0.7305 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.376/1.376, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001565/0.001565, allocations: 109.6 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1993/0.1993, allocations: 37.93 MB / 330.9 MB, free: 2.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.987e-05, allocations: 4 kB / 390.4 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2439, allocations: 53.22 MB / 443.6 MB, free: 17.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1076/0.3516, allocations: 90.6 MB / 0.5217 GB, free: 7.062 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.3519, allocations: 83.95 kB / 0.5217 GB, free: 6.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.224/0.5759, allocations: 12.39 MB / 0.5338 GB, free: 88.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.576, allocations: 0 / 0.5338 GB, free: 88.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.825e-05/0.576, allocations: 17.61 kB / 0.5339 GB, free: 88.62 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.0009569/0.577, allocations: 0.6074 MB / 0.5345 GB, free: 88.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.577, allocations: 9.094 kB / 0.5345 GB, free: 88.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000674/0.5777, allocations: 93.19 kB / 0.5346 GB, free: 88.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.5801, allocations: 0.8573 MB / 0.5354 GB, free: 87.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.5802, allocations: 10.69 kB / 0.5354 GB, free: 87.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-05/0.5803, allocations: 23.53 kB / 0.5354 GB, free: 87.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004957/0.5808, allocations: 280.5 kB / 0.5357 GB, free: 87.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006661/0.5815, allocations: 413.3 kB / 0.5361 GB, free: 87.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.5815, allocations: 1.125 kB / 0.5361 GB, free: 87.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.5815, allocations: 0.9062 kB / 0.5361 GB, free: 87.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.714e-05/0.5816, allocations: 26.67 kB / 0.5361 GB, free: 87.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.5834, allocations: 1.645 MB / 0.5377 GB, free: 86.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.5836, allocations: 141 kB / 0.5379 GB, free: 86.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.5837, allocations: 104.2 kB / 0.538 GB, free: 86.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.5838, allocations: 7.656 kB / 0.538 GB, free: 86.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.5838, allocations: 34.56 kB / 0.538 GB, free: 86.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.5838, allocations: 0 / 0.538 GB, free: 86.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009305/0.5847, allocations: 0.6722 MB / 0.5387 GB, free: 85.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.5848, allocations: 80.48 kB / 0.5387 GB, free: 85.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.585, allocations: 242.3 kB / 0.539 GB, free: 85.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.585, allocations: 25.7 kB / 0.539 GB, free: 85.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.5851, allocations: 259.1 kB / 0.5392 GB, free: 85.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.5851, allocations: 56.52 kB / 0.5393 GB, free: 85.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.5852, allocations: 0 / 0.5393 GB, free: 85.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.5852, allocations: 347.2 kB / 0.5396 GB, free: 85.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.5853, allocations: 91.03 kB / 0.5397 GB, free: 84.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.5855, allocations: 187.6 kB / 0.5399 GB, free: 84.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.5856, allocations: 124.4 kB / 0.54 GB, free: 84.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.5856, allocations: 0 / 0.54 GB, free: 84.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006862/0.5863, allocations: 440 kB / 0.5404 GB, free: 84.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.5864, allocations: 3.812 kB / 0.5404 GB, free: 84.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000465/0.5868, allocations: 292.8 kB / 0.5407 GB, free: 84.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.5873, allocations: 130.3 kB / 0.5408 GB, free: 84.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.5874, allocations: 59.52 kB / 0.5409 GB, free: 84.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.5892, allocations: 2.081 MB / 0.5429 GB, free: 82.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.5894, allocations: 11.56 kB / 0.5429 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.5894, allocations: 15.22 kB / 0.5429 GB, free: 82.88 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.867e-05/0.5895, allocations: 112.3 kB / 0.543 GB, free: 82.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.5896, allocations: 30.03 kB / 0.5431 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.5899, allocations: 251.2 kB / 0.5433 GB, free: 82.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5899, allocations: 0 / 0.5433 GB, free: 82.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5899, allocations: 3.75 kB / 0.5433 GB, free: 82.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5899, allocations: 3.75 kB / 0.5433 GB, free: 82.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008054/0.5908, allocations: 0.6647 MB / 0.544 GB, free: 82.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5908, allocations: 0 / 0.544 GB, free: 82.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.591, allocations: 41.67 kB / 0.544 GB, free: 82.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.555e-05/0.5911, allocations: 38.33 kB / 0.544 GB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.5911, allocations: 3.938 kB / 0.5441 GB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5911, allocations: 0 / 0.5441 GB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5911, allocations: 0 / 0.5441 GB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.5915, allocations: 455.4 kB / 0.5445 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.5916, allocations: 115.6 kB / 0.5446 GB, free: 81.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.5916, allocations: 0 / 0.5446 GB, free: 81.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.5918, allocations: 7.719 kB / 0.5446 GB, free: 81.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.5918, allocations: 11.14 kB / 0.5446 GB, free: 81.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.5918, allocations: 3.875 kB / 0.5446 GB, free: 81.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.592, allocations: 192.4 kB / 0.5448 GB, free: 81.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.592, allocations: 0 / 0.5448 GB, free: 81.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00044/0.5924, allocations: 86.44 kB / 0.5449 GB, free: 81.63 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): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000163/0.5926, allocations: 129.8 kB / 0.545 GB, free: 81.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005143/0.5931, allocations: 375.9 kB / 0.5454 GB, free: 81.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5931, allocations: 0 / 0.5454 GB, free: 81.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.5933, allocations: 174.7 kB / 0.5455 GB, free: 81.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.5936, allocations: 60.17 kB / 0.5456 GB, free: 81.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009206/0.5945, allocations: 0.6501 MB / 0.5462 GB, free: 80.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.5948, allocations: 0.8534 MB / 0.5471 GB, free: 80.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.595, allocations: 63.36 kB / 0.5471 GB, free: 80.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.595, allocations: 22.19 kB / 0.5471 GB, free: 80.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5951, allocations: 0 / 0.5471 GB, free: 80.05 MB / 378.7 MB Notification: Performance of Templates: time 0.006068/0.6011, allocations: 3.393 MB / 0.5505 GB, free: 77.36 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)