Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002195/0.002195, allocations: 173 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.431/2.431, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 88.56 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3116/0.3116, allocations: 38.07 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004881, allocations: 12 kB / 423.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3873, allocations: 56.31 MB / 480.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.5813, allocations: 93.97 MB / 0.5608 GB, free: 8.391 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005106/0.5819, allocations: 95.95 kB / 0.5609 GB, free: 8.297 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0216/0.6036, allocations: 6.448 MB / 0.5672 GB, free: 1.773 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.6036, allocations: 0 / 0.5672 GB, free: 1.773 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.585e-05/0.6037, allocations: 4 kB / 0.5672 GB, free: 1.77 MB / 394.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.001074/0.6047, allocations: 0.5744 MB / 0.5677 GB, free: 1.148 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.6048, allocations: 8.031 kB / 0.5677 GB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.6049, allocations: 32.56 kB / 0.5678 GB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/0.6058, allocations: 442.7 kB / 0.5682 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.6058, allocations: 16.81 kB / 0.5682 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.606, allocations: 28.75 kB / 0.5682 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/0.6064, allocations: 305.7 kB / 0.5685 GB, free: 268 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.6065, allocations: 3.938 kB / 0.5685 GB, free: 264 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.6065, allocations: 4 kB / 0.5685 GB, free: 260 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.6065, allocations: 8 kB / 0.5685 GB, free: 252 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.6068, allocations: 183.8 kB / 0.5687 GB, free: 68 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.6085, allocations: 1.272 MB / 0.57 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.6088, allocations: 120.1 kB / 0.5701 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.6089, allocations: 54.61 kB / 0.5701 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.6089, allocations: 0 / 0.5701 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.6089, allocations: 38.56 kB / 0.5702 GB, free: 14.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.609, allocations: 4 kB / 0.5702 GB, free: 14.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001026/0.61, allocations: 0.5196 MB / 0.5707 GB, free: 13.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.6101, allocations: 110.8 kB / 0.5708 GB, free: 13.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.6103, allocations: 234.9 kB / 0.571 GB, free: 13.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.6104, allocations: 33.64 kB / 0.571 GB, free: 13.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.6105, allocations: 199.6 kB / 0.5712 GB, free: 13.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.6106, allocations: 43.45 kB / 0.5713 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.6106, allocations: 4 kB / 0.5713 GB, free: 13.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6107, allocations: 334.8 kB / 0.5716 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.6108, allocations: 35.98 kB / 0.5716 GB, free: 12.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.611, allocations: 136.2 kB / 0.5718 GB, free: 12.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.6112, allocations: 187.8 kB / 0.5719 GB, free: 12.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.6112, allocations: 0 / 0.5719 GB, free: 12.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004143/0.6116, allocations: 230.3 kB / 0.5722 GB, free: 12.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6117, allocations: 4 kB / 0.5722 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.6117, allocations: 12.09 kB / 0.5722 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.6118, allocations: 28.84 kB / 0.5722 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.6121, allocations: 59.89 kB / 0.5723 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.6122, allocations: 15.97 kB / 0.5723 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.6123, allocations: 11.94 kB / 0.5723 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.6123, allocations: 8 kB / 0.5723 GB, free: 12.05 MB / 410.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.0001594/0.6125, allocations: 161.6 kB / 0.5724 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.6126, allocations: 27.72 kB / 0.5725 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.6128, allocations: 135.3 kB / 0.5726 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.6128, allocations: 4 kB / 0.5726 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6129, allocations: 0 / 0.5726 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.6129, allocations: 8.016 kB / 0.5726 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.6132, allocations: 285.5 kB / 0.5729 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.6133, allocations: 4 kB / 0.5729 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.6134, allocations: 23.98 kB / 0.5729 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.6134, allocations: 4 kB / 0.5729 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.6135, allocations: 11.94 kB / 0.5729 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6135, allocations: 0 / 0.5729 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.6135, allocations: 4 kB / 0.5729 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.6139, allocations: 366.2 kB / 0.5733 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.614, allocations: 100.8 kB / 0.5734 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.6141, allocations: 8.062 kB / 0.5734 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.6142, allocations: 4 kB / 0.5734 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.6142, allocations: 15.92 kB / 0.5734 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.6143, allocations: 4 kB / 0.5734 GB, free: 10.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.6144, allocations: 170 kB / 0.5736 GB, free: 10.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6144, allocations: 0 / 0.5736 GB, free: 10.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003507/0.6148, allocations: 48 kB / 0.5736 GB, free: 10.6 MB / 410.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 (14): * Single equations (assignments): 13 * 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.0001376/0.6149, allocations: 107.2 kB / 0.5737 GB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003503/0.6153, allocations: 209.7 kB / 0.5739 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6153, allocations: 0 / 0.5739 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.569e-05/0.6154, allocations: 51.92 kB / 0.574 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.6159, allocations: 45.98 kB / 0.574 GB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.617, allocations: 0.7978 MB / 0.5748 GB, free: 9.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.6173, allocations: 0.7677 MB / 0.5755 GB, free: 8.527 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.6174, allocations: 31.42 kB / 0.5756 GB, free: 8.496 MB / 410.7 MB Notification: Performance of SimCode: time 4.4e-07/0.6174, allocations: 0 / 0.5756 GB, free: 8.496 MB / 410.7 MB Notification: Performance of Templates: time 0.005655/0.623, allocations: 3.448 MB / 0.5789 GB, free: 5.055 MB / 410.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)