Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001079/0.001079, allocations: 181.6 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.485/1.485, allocations: 194.3 MB / 208.4 MB, free: 6.723 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.001625/0.001625, allocations: 122.3 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.197/0.197, allocations: 37.92 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.503e-05, allocations: 4 kB / 397.5 MB, free: 1.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2898, allocations: 53.21 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.4113, allocations: 88.81 MB / 0.5269 GB, free: 4.535 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.4117, allocations: 87.94 kB / 0.527 GB, free: 4.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2505/0.6622, allocations: 6.453 MB / 0.5333 GB, free: 87.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6622, allocations: 0 / 0.5333 GB, free: 87.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.304e-05/0.6623, allocations: 5.062 kB / 0.5333 GB, free: 87.01 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007841/0.6631, allocations: 0.5342 MB / 0.5338 GB, free: 86.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.6631, allocations: 8 kB / 0.5338 GB, free: 86.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.803e-05/0.6632, allocations: 31.5 kB / 0.5339 GB, free: 86.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.6648, allocations: 0.6497 MB / 0.5345 GB, free: 86.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.6648, allocations: 16.59 kB / 0.5345 GB, free: 86.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.6649, allocations: 34.66 kB / 0.5346 GB, free: 86.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.6654, allocations: 289 kB / 0.5348 GB, free: 86.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6654, allocations: 5.734 kB / 0.5348 GB, free: 86.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.6655, allocations: 10.69 kB / 0.5348 GB, free: 86.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.6655, allocations: 5.844 kB / 0.5349 GB, free: 86.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.6658, allocations: 190.5 kB / 0.535 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.6674, allocations: 1.281 MB / 0.5363 GB, free: 85.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.6676, allocations: 118.8 kB / 0.5364 GB, free: 85.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.6677, allocations: 45.28 kB / 0.5364 GB, free: 85.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.6678, allocations: 5.984 kB / 0.5364 GB, free: 85.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.6678, allocations: 39.48 kB / 0.5365 GB, free: 85.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.978e-06/0.6678, allocations: 1.031 kB / 0.5365 GB, free: 85.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008674/0.6687, allocations: 0.5055 MB / 0.537 GB, free: 84.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.6687, allocations: 109.4 kB / 0.5371 GB, free: 84.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.669, allocations: 205.5 kB / 0.5373 GB, free: 84.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.669, allocations: 29.98 kB / 0.5373 GB, free: 84.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.6691, allocations: 198.1 kB / 0.5375 GB, free: 84.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.6691, allocations: 40.72 kB / 0.5375 GB, free: 84.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.6691, allocations: 5.281 kB / 0.5375 GB, free: 84.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.6692, allocations: 331.3 kB / 0.5379 GB, free: 84.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.6693, allocations: 36.16 kB / 0.5379 GB, free: 84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.6694, allocations: 126.5 kB / 0.538 GB, free: 83.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.6695, allocations: 60.56 kB / 0.5381 GB, free: 83.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6695, allocations: 1.438 kB / 0.5381 GB, free: 83.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000398/0.67, allocations: 235.5 kB / 0.5383 GB, free: 83.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.67, allocations: 7.406 kB / 0.5383 GB, free: 83.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.67, allocations: 3.219 kB / 0.5383 GB, free: 83.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/0.6701, allocations: 32.56 kB / 0.5383 GB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.6705, allocations: 66.62 kB / 0.5384 GB, free: 83.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.6705, allocations: 4.703 kB / 0.5384 GB, free: 83.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.6707, allocations: 9.219 kB / 0.5384 GB, free: 83.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.6707, allocations: 13.41 kB / 0.5384 GB, free: 83.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 prepare postOptimizeDAE: time 7.138e-05/0.6708, allocations: 114.3 kB / 0.5385 GB, free: 83.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.6708, allocations: 29.58 kB / 0.5386 GB, free: 83.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.6711, allocations: 157.3 kB / 0.5387 GB, free: 83.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6712, allocations: 2.594 kB / 0.5387 GB, free: 83.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.6712, allocations: 1.672 kB / 0.5387 GB, free: 83.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.147e-05/0.6712, allocations: 1.75 kB / 0.5387 GB, free: 83.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.6716, allocations: 295.1 kB / 0.539 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6716, allocations: 1.156 kB / 0.539 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.6718, allocations: 28.23 kB / 0.539 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.6718, allocations: 6 kB / 0.539 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.6718, allocations: 10.25 kB / 0.539 GB, free: 83.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.6718, allocations: 5.812 kB / 0.539 GB, free: 83.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6718, allocations: 9 kB / 0.5391 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.6722, allocations: 393.3 kB / 0.5394 GB, free: 82.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.6723, allocations: 96.61 kB / 0.5395 GB, free: 82.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.6723, allocations: 2.719 kB / 0.5395 GB, free: 82.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.6725, allocations: 9.469 kB / 0.5395 GB, free: 82.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.6725, allocations: 8.828 kB / 0.5395 GB, free: 82.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.6725, allocations: 8.203 kB / 0.5396 GB, free: 82.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.6727, allocations: 167.5 kB / 0.5397 GB, free: 82.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6727, allocations: 0 / 0.5397 GB, free: 82.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003606/0.673, allocations: 53.17 kB / 0.5398 GB, free: 82.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001363/0.6732, allocations: 106.6 kB / 0.5399 GB, free: 82.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.6735, allocations: 215.2 kB / 0.5401 GB, free: 82.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6736, allocations: 1.219 kB / 0.5401 GB, free: 82.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.464e-05/0.6737, allocations: 53.91 kB / 0.5401 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.6741, allocations: 48.25 kB / 0.5402 GB, free: 82.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/0.6749, allocations: 422.4 kB / 0.5406 GB, free: 82.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.6752, allocations: 0.7809 MB / 0.5413 GB, free: 81.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.6753, allocations: 28.67 kB / 0.5414 GB, free: 81.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.6754, allocations: 24.97 kB / 0.5414 GB, free: 81.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6754, allocations: 4 kB / 0.5414 GB, free: 81.41 MB / 378.7 MB Notification: Performance of Templates: time 0.005733/0.6811, allocations: 2.075 MB / 0.5434 GB, free: 81.23 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)