Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001414/0.001414, allocations: 182.3 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.494/1.494, allocations: 194.2 MB / 208.4 MB, free: 6.711 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.001679/0.001679, allocations: 122.2 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1541/0.1541, allocations: 37.9 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.823e-05/2.827e-05, allocations: 4 kB / 397.5 MB, free: 1.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.264, allocations: 53.23 MB / 450.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.3826, allocations: 89.71 MB / 0.5278 GB, free: 3.621 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.3829, allocations: 87.95 kB / 0.5279 GB, free: 3.535 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2526/0.6355, allocations: 6.603 MB / 0.5343 GB, free: 87.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.6356, allocations: 4 kB / 0.5344 GB, free: 87.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.6356, allocations: 6.344 kB / 0.5344 GB, free: 87.52 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.0009042/0.6365, allocations: 0.5286 MB / 0.5349 GB, free: 87.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.6366, allocations: 9.5 kB / 0.5349 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.56e-05/0.6367, allocations: 30.5 kB / 0.5349 GB, free: 87.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.6389, allocations: 0.7677 MB / 0.5357 GB, free: 86.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.6389, allocations: 17.38 kB / 0.5357 GB, free: 86.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.639, allocations: 26.22 kB / 0.5357 GB, free: 86.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005209/0.6395, allocations: 279.5 kB / 0.536 GB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.6396, allocations: 8.219 kB / 0.536 GB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.6396, allocations: 9.734 kB / 0.536 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.6396, allocations: 9.844 kB / 0.536 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.64, allocations: 175.5 kB / 0.5362 GB, free: 86.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.6412, allocations: 1.221 MB / 0.5374 GB, free: 85.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.6416, allocations: 109.4 kB / 0.5375 GB, free: 85.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.999e-05/0.6417, allocations: 43.3 kB / 0.5375 GB, free: 85.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.6417, allocations: 15.8 kB / 0.5375 GB, free: 85.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.6417, allocations: 31.72 kB / 0.5375 GB, free: 85.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/0.6417, allocations: 0 / 0.5375 GB, free: 85.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008432/0.6426, allocations: 459.6 kB / 0.538 GB, free: 85.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.6427, allocations: 82.64 kB / 0.5381 GB, free: 85.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.6429, allocations: 216.5 kB / 0.5383 GB, free: 84.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.6429, allocations: 30.64 kB / 0.5383 GB, free: 84.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.643, allocations: 200.8 kB / 0.5385 GB, free: 84.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.6431, allocations: 31.75 kB / 0.5385 GB, free: 84.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.6431, allocations: 5.094 kB / 0.5385 GB, free: 84.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.038e-05/0.6431, allocations: 333.8 kB / 0.5388 GB, free: 84.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.6432, allocations: 33.47 kB / 0.5389 GB, free: 84.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.6433, allocations: 129.1 kB / 0.539 GB, free: 84.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.6434, allocations: 61.91 kB / 0.5391 GB, free: 84.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6435, allocations: 2 kB / 0.5391 GB, free: 84.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002959/0.6438, allocations: 199 kB / 0.5392 GB, free: 84.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.6438, allocations: 6.219 kB / 0.5393 GB, free: 84.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.6438, allocations: 4.469 kB / 0.5393 GB, free: 84.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.6438, allocations: 8.594 kB / 0.5393 GB, free: 84.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.644, allocations: 49.69 kB / 0.5393 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.644, allocations: 8.969 kB / 0.5393 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.6441, allocations: 11.97 kB / 0.5393 GB, free: 84.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.6442, allocations: 11.64 kB / 0.5393 GB, free: 84.06 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/0.6442, allocations: 120.3 kB / 0.5395 GB, free: 83.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.6443, allocations: 26.41 kB / 0.5395 GB, free: 83.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.6445, allocations: 128.9 kB / 0.5396 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.6445, allocations: 6.281 kB / 0.5396 GB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6446, allocations: 5.234 kB / 0.5396 GB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6446, allocations: 0 / 0.5396 GB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.6451, allocations: 482.6 kB / 0.5401 GB, free: 83.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6451, allocations: 1.219 kB / 0.5401 GB, free: 83.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.6452, allocations: 22.77 kB / 0.5401 GB, free: 83.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.6452, allocations: 1.344 kB / 0.5401 GB, free: 83.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.6453, allocations: 9.266 kB / 0.5401 GB, free: 83.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6453, allocations: 5.344 kB / 0.5401 GB, free: 83.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6453, allocations: 9.391 kB / 0.5401 GB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.6456, allocations: 297.1 kB / 0.5404 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.6457, allocations: 95.27 kB / 0.5405 GB, free: 83.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.6457, allocations: 14.22 kB / 0.5405 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.835e-05/0.6458, allocations: 1.156 kB / 0.5405 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.6459, allocations: 7.875 kB / 0.5405 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.6459, allocations: 7.281 kB / 0.5405 GB, free: 83.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001369/0.646, allocations: 171 kB / 0.5407 GB, free: 82.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.646, allocations: 0 / 0.5407 GB, free: 82.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.6463, allocations: 45.66 kB / 0.5407 GB, free: 82.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0001244/0.6465, allocations: 103.7 kB / 0.5408 GB, free: 82.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.6467, allocations: 114.4 kB / 0.5409 GB, free: 82.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.6467, allocations: 0 / 0.5409 GB, free: 82.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.6468, allocations: 47.69 kB / 0.541 GB, free: 82.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.6472, allocations: 56.08 kB / 0.541 GB, free: 82.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/0.6479, allocations: 360 kB / 0.5414 GB, free: 82.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.6481, allocations: 0.7774 MB / 0.5421 GB, free: 81.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.6483, allocations: 37.31 kB / 0.5422 GB, free: 81.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.6483, allocations: 19.75 kB / 0.5422 GB, free: 81.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6483, allocations: 0 / 0.5422 GB, free: 81.86 MB / 378.7 MB Notification: Performance of Templates: time 0.005655/0.654, allocations: 1.848 MB / 0.544 GB, free: 81.7 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1)