Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 182.1 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 98.73 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2617/0.2617, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004729, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1099, allocations: 56.32 MB / 479.1 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5482/0.6581, allocations: 93.93 MB / 0.5596 GB, free: 5.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.6585, allocations: 91.27 kB / 0.5596 GB, free: 5.703 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02566/0.6841, allocations: 6.472 MB / 0.566 GB, free: 156 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6842, allocations: 0 / 0.566 GB, free: 156 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.6842, allocations: 4 kB / 0.566 GB, free: 152 kB / 362.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.001361/0.6856, allocations: 0.5807 MB / 0.5665 GB, free: 15.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.6857, allocations: 8.031 kB / 0.5665 GB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.6858, allocations: 35.58 kB / 0.5666 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/0.688, allocations: 0.6673 MB / 0.5672 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.6881, allocations: 15.56 kB / 0.5672 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.6883, allocations: 34.36 kB / 0.5673 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006473/0.689, allocations: 289.7 kB / 0.5676 GB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.689, allocations: 0 / 0.5676 GB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.689, allocations: 15.08 kB / 0.5676 GB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.6891, allocations: 4 kB / 0.5676 GB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005223/0.6896, allocations: 190.9 kB / 0.5678 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.6919, allocations: 1.285 MB / 0.569 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.6923, allocations: 121.4 kB / 0.5691 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.6924, allocations: 4 kB / 0.5691 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.6924, allocations: 34.62 kB / 0.5692 GB, free: 13.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-05/0.6924, allocations: 7.922 kB / 0.5692 GB, free: 13.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001414/0.6939, allocations: 0.5332 MB / 0.5697 GB, free: 12.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.694, allocations: 107.1 kB / 0.5698 GB, free: 12.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.6943, allocations: 213.1 kB / 0.57 GB, free: 12.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.6943, allocations: 25.7 kB / 0.57 GB, free: 12.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.6945, allocations: 256.2 kB / 0.5703 GB, free: 11.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.6946, allocations: 36.95 kB / 0.5703 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.6946, allocations: 5.688 kB / 0.5703 GB, free: 11.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.6948, allocations: 318.5 kB / 0.5706 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.6949, allocations: 41.78 kB / 0.5706 GB, free: 11.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.6951, allocations: 134.5 kB / 0.5708 GB, free: 11.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.6953, allocations: 52.38 kB / 0.5708 GB, free: 11.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6953, allocations: 4 kB / 0.5708 GB, free: 11.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006272/0.696, allocations: 220.8 kB / 0.571 GB, free: 11.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.696, allocations: 8 kB / 0.571 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.696, allocations: 7.953 kB / 0.5711 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.6962, allocations: 28.22 kB / 0.5711 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.6969, allocations: 67.38 kB / 0.5711 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/0.697, allocations: 8.891 kB / 0.5712 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.6972, allocations: 11.94 kB / 0.5712 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.6972, allocations: 8 kB / 0.5712 GB, free: 11.07 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 () * 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.0002447/0.6975, allocations: 145 kB / 0.5713 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.6976, allocations: 23.72 kB / 0.5713 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.6981, allocations: 160.1 kB / 0.5715 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.6981, allocations: 7.953 kB / 0.5715 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6981, allocations: 4 kB / 0.5715 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.6981, allocations: 0 / 0.5715 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.6987, allocations: 289.1 kB / 0.5718 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6987, allocations: 0 / 0.5718 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.699, allocations: 31.92 kB / 0.5718 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.6991, allocations: 0 / 0.5718 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.6991, allocations: 7.5 kB / 0.5718 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.6991, allocations: 3.984 kB / 0.5718 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.6991, allocations: 7.953 kB / 0.5718 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.6998, allocations: 395.2 kB / 0.5722 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.6999, allocations: 100.6 kB / 0.5723 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.6999, allocations: 11.92 kB / 0.5723 GB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.7002, allocations: 3.25 kB / 0.5723 GB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.7002, allocations: 8.047 kB / 0.5723 GB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.7002, allocations: 8 kB / 0.5723 GB, free: 9.934 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002374/0.7005, allocations: 171.7 kB / 0.5725 GB, free: 9.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.376e-06/0.7005, allocations: 0 / 0.5725 GB, free: 9.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004996/0.701, allocations: 51.69 kB / 0.5725 GB, free: 9.746 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 () * 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.0001685/0.7012, allocations: 102.4 kB / 0.5726 GB, free: 9.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005374/0.7017, allocations: 218.5 kB / 0.5728 GB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7018, allocations: 0 / 0.5728 GB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.7019, allocations: 50.55 kB / 0.5729 GB, free: 9.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.7025, allocations: 58.97 kB / 0.5729 GB, free: 9.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.7041, allocations: 0.7918 MB / 0.5737 GB, free: 8.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.7046, allocations: 0.7833 MB / 0.5745 GB, free: 7.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.7047, allocations: 19.44 kB / 0.5745 GB, free: 7.734 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7047, allocations: 3.938 kB / 0.5745 GB, free: 7.73 MB / 378.7 MB Notification: Performance of Templates: time 0.008518/0.7132, allocations: 3.428 MB / 0.5779 GB, free: 4.34 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)