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.001148/0.001148, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.301/1.301, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001619/0.001619, allocations: 114.9 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1669/0.1669, allocations: 37.99 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003932, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1037, allocations: 53.22 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3179/0.4217, allocations: 88.9 MB / 0.5331 GB, free: 6.273 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.422, allocations: 97.11 kB / 0.5332 GB, free: 6.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0175/0.4395, allocations: 6.459 MB / 0.5395 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4396, allocations: 0 / 0.5395 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.4396, allocations: 4 kB / 0.5395 GB, free: 0.6719 MB / 346.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.0009398/0.4406, allocations: 0.5759 MB / 0.5401 GB, free: 72 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4406, allocations: 12.02 kB / 0.5401 GB, free: 60 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.4407, allocations: 31.62 kB / 0.5401 GB, free: 28 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.4424, allocations: 0.6715 MB / 0.5408 GB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.4424, allocations: 16.19 kB / 0.5408 GB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.4426, allocations: 39.16 kB / 0.5408 GB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.4431, allocations: 291.8 kB / 0.5411 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4431, allocations: 3.938 kB / 0.5411 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.4431, allocations: 9.875 kB / 0.5411 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.4432, allocations: 4 kB / 0.5411 GB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.4436, allocations: 186.1 kB / 0.5413 GB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.4451, allocations: 1.273 MB / 0.5425 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.4454, allocations: 126.3 kB / 0.5427 GB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.4454, allocations: 3.953 kB / 0.5427 GB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.4455, allocations: 45.36 kB / 0.5427 GB, free: 13.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.4455, allocations: 0 / 0.5427 GB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000871/0.4464, allocations: 0.5198 MB / 0.5432 GB, free: 13.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.4464, allocations: 110.8 kB / 0.5433 GB, free: 12.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.4466, allocations: 215.6 kB / 0.5435 GB, free: 12.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.4467, allocations: 28.83 kB / 0.5435 GB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.4468, allocations: 199 kB / 0.5437 GB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.4468, allocations: 41.89 kB / 0.5438 GB, free: 12.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.4468, allocations: 7.125 kB / 0.5438 GB, free: 12.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.447, allocations: 332.4 kB / 0.5441 GB, free: 12.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/0.4471, allocations: 36.92 kB / 0.5441 GB, free: 12.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.4472, allocations: 127.6 kB / 0.5443 GB, free: 12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.544e-05/0.4473, allocations: 61.11 kB / 0.5443 GB, free: 11.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.4473, allocations: 4 kB / 0.5443 GB, free: 11.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003719/0.4477, allocations: 237.5 kB / 0.5445 GB, free: 11.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4477, allocations: 4 kB / 0.5446 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4477, allocations: 4 kB / 0.5446 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.4478, allocations: 28.72 kB / 0.5446 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.4482, allocations: 67.27 kB / 0.5446 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.4482, allocations: 7.984 kB / 0.5447 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.4484, allocations: 4 kB / 0.5447 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.4484, allocations: 11.44 kB / 0.5447 GB, free: 11.64 MB / 362.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 () * Number of clocked 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 0.0001353/0.4485, allocations: 158.8 kB / 0.5448 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.4486, allocations: 23.67 kB / 0.5448 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.4489, allocations: 150 kB / 0.545 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4489, allocations: 0 / 0.545 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4489, allocations: 96 / 0.545 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4489, allocations: 7.938 kB / 0.545 GB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.4492, allocations: 294.6 kB / 0.5453 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.4493, allocations: 8 kB / 0.5453 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.4494, allocations: 31.55 kB / 0.5453 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.4495, allocations: 7.953 kB / 0.5453 GB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.4495, allocations: 0 / 0.5453 GB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4495, allocations: 4 kB / 0.5453 GB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4495, allocations: 0 / 0.5453 GB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.4499, allocations: 407.6 kB / 0.5457 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.45, allocations: 100.8 kB / 0.5458 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.45, allocations: 0 / 0.5458 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.4502, allocations: 3.875 kB / 0.5458 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.4502, allocations: 15.97 kB / 0.5458 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.4502, allocations: 4 kB / 0.5458 GB, free: 10.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.4504, allocations: 171.5 kB / 0.546 GB, free: 10.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4504, allocations: 4.062 kB / 0.546 GB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.4507, allocations: 51.12 kB / 0.546 GB, free: 10.31 MB / 362.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 () * Number of clocked 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.0001397/0.4509, allocations: 99.19 kB / 0.5461 GB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.4512, allocations: 213.2 kB / 0.5463 GB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4512, allocations: 0.8125 kB / 0.5463 GB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.4513, allocations: 58.3 kB / 0.5464 GB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.4517, allocations: 50.56 kB / 0.5465 GB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009712/0.4527, allocations: 0.7634 MB / 0.5472 GB, free: 9.156 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.453, allocations: 0.7791 MB / 0.548 GB, free: 8.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.4532, allocations: 30.28 kB / 0.548 GB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.4532, allocations: 27.12 kB / 0.548 GB, free: 8.301 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4532, allocations: 4 kB / 0.548 GB, free: 8.297 MB / 362.7 MB Notification: Performance of Templates: time 0.005056/0.4583, allocations: 2.065 MB / 0.55 GB, free: 6.246 MB / 362.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)