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.001515/0.001515, allocations: 188.6 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.336/1.336, allocations: 194.3 MB / 203.1 MB, free: 9.328 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.001593/0.001593, allocations: 112.6 kB / 248.1 MB, free: 6.328 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1631/0.1631, allocations: 37.92 MB / 330.9 MB, free: 7.324 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.267e-05/1.268e-05, allocations: 4 kB / 390.4 MB, free: 78.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09129/0.09132, allocations: 53.24 MB / 443.6 MB, free: 25.11 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.4672, allocations: 88.14 MB / 0.5193 GB, free: 11.17 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.4676, allocations: 88.34 kB / 0.5194 GB, free: 11.15 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01628/0.4839, allocations: 6.394 MB / 0.5256 GB, free: 8.543 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4839, allocations: 0 / 0.5256 GB, free: 8.543 MB / 347.1 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.4839, allocations: 7.781 kB / 0.5256 GB, free: 8.539 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006762/0.4846, allocations: 0.526 MB / 0.5261 GB, free: 8.082 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4847, allocations: 7.688 kB / 0.5261 GB, free: 8.082 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.4847, allocations: 34.98 kB / 0.5262 GB, free: 8.062 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.486, allocations: 0.6497 MB / 0.5268 GB, free: 7.684 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.486, allocations: 7.656 kB / 0.5268 GB, free: 7.684 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.4862, allocations: 35.38 kB / 0.5268 GB, free: 7.672 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000251/0.4864, allocations: 157.6 kB / 0.527 GB, free: 7.652 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.4867, allocations: 250.2 kB / 0.5272 GB, free: 7.516 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4867, allocations: 11.88 kB / 0.5272 GB, free: 7.504 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.4868, allocations: 0 / 0.5272 GB, free: 7.504 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.4868, allocations: 7.625 kB / 0.5273 GB, free: 7.504 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.4879, allocations: 1.234 MB / 0.5285 GB, free: 6.48 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.4882, allocations: 111.1 kB / 0.5286 GB, free: 6.402 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.4882, allocations: 48.06 kB / 0.5286 GB, free: 6.371 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.4882, allocations: 0 / 0.5286 GB, free: 6.371 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.4883, allocations: 38.33 kB / 0.5286 GB, free: 6.328 MB / 347.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.4883, allocations: 0 / 0.5286 GB, free: 6.328 MB / 347.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006755/0.489, allocations: 0.4924 MB / 0.5291 GB, free: 5.941 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.489, allocations: 102.8 kB / 0.5292 GB, free: 5.816 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.4892, allocations: 197.6 kB / 0.5294 GB, free: 5.699 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.4892, allocations: 30.14 kB / 0.5294 GB, free: 5.668 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.4892, allocations: 195.2 kB / 0.5296 GB, free: 5.523 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.4893, allocations: 38.02 kB / 0.5297 GB, free: 5.496 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.4893, allocations: 4 kB / 0.5297 GB, free: 5.492 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 5.655e-05/0.4894, allocations: 331.2 kB / 0.53 GB, free: 5.176 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.575e-05/0.4894, allocations: 36.64 kB / 0.53 GB, free: 5.172 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.4895, allocations: 127.7 kB / 0.5301 GB, free: 5.051 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.793e-05/0.4896, allocations: 47.45 kB / 0.5302 GB, free: 5.043 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4896, allocations: 3.906 kB / 0.5302 GB, free: 5.043 MB / 347.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003003/0.4899, allocations: 212.7 kB / 0.5304 GB, free: 4.945 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.4899, allocations: 7.531 kB / 0.5304 GB, free: 4.945 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4899, allocations: 7.844 kB / 0.5304 GB, free: 4.941 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/0.4901, allocations: 30.69 kB / 0.5304 GB, free: 4.93 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.4904, allocations: 58.27 kB / 0.5305 GB, free: 4.914 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.4904, allocations: 11.66 kB / 0.5305 GB, free: 4.91 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.4906, allocations: 3.844 kB / 0.5305 GB, free: 4.91 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.4906, allocations: 11.67 kB / 0.5305 GB, free: 4.906 MB / 347.1 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 6.236e-05/0.4907, allocations: 120.3 kB / 0.5306 GB, free: 4.789 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.4907, allocations: 23.36 kB / 0.5307 GB, free: 4.773 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.4909, allocations: 137.2 kB / 0.5308 GB, free: 4.715 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.491, allocations: 3.844 kB / 0.5308 GB, free: 4.715 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.491, allocations: 0 / 0.5308 GB, free: 4.715 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.491, allocations: 7.828 kB / 0.5308 GB, free: 4.711 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.4912, allocations: 243.7 kB / 0.531 GB, free: 4.52 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4912, allocations: 0 / 0.531 GB, free: 4.52 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.4914, allocations: 34.33 kB / 0.5311 GB, free: 4.512 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4914, allocations: 15.77 kB / 0.5311 GB, free: 4.5 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.4914, allocations: 0 / 0.5311 GB, free: 4.5 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4914, allocations: 3.953 kB / 0.5311 GB, free: 4.496 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4915, allocations: 3.438 kB / 0.5311 GB, free: 4.496 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.4917, allocations: 375.2 kB / 0.5314 GB, free: 4.227 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.4918, allocations: 104.4 kB / 0.5315 GB, free: 4.113 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.4918, allocations: 4 kB / 0.5315 GB, free: 4.109 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.492, allocations: 0 / 0.5315 GB, free: 4.109 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.492, allocations: 15.27 kB / 0.5316 GB, free: 4.102 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.492, allocations: 3.969 kB / 0.5316 GB, free: 4.102 MB / 347.1 MB Notification: Performance of sorting global known variables: time 9.93e-05/0.4921, allocations: 156.8 kB / 0.5317 GB, free: 4.016 MB / 347.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4921, allocations: 0 / 0.5317 GB, free: 4.016 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.4925, allocations: 49.94 kB / 0.5318 GB, free: 4.012 MB / 347.1 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 9.739e-05/0.4926, allocations: 102.4 kB / 0.5319 GB, free: 3.918 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.4928, allocations: 188.8 kB / 0.532 GB, free: 3.805 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4928, allocations: 0 / 0.532 GB, free: 3.805 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 6.517e-05/0.4929, allocations: 55.58 kB / 0.5321 GB, free: 3.797 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.4933, allocations: 55.62 kB / 0.5321 GB, free: 3.773 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006474/0.494, allocations: 424.3 kB / 0.5325 GB, free: 3.484 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.4942, allocations: 0.7724 MB / 0.5333 GB, free: 2.746 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.4944, allocations: 25 kB / 0.5333 GB, free: 2.734 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.4944, allocations: 30.67 kB / 0.5334 GB, free: 2.719 MB / 347.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4944, allocations: 0 / 0.5334 GB, free: 2.719 MB / 347.1 MB Notification: Performance of Templates: time 0.004412/0.4988, allocations: 1.957 MB / 0.5353 GB, free: 1.77 MB / 347.1 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)