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.0009956/0.0009957, allocations: 169.2 kB / 16.07 MB, free: 5.605 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.251/1.251, allocations: 205.4 MB / 222.2 MB, free: 13.71 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.0007449/0.000745, allocations: 82.31 kB / 270.6 MB, free: 13.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1614/0.1614, allocations: 38.07 MB / 356.9 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 12 kB / 423.3 MB, free: 26.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07862/0.07897, allocations: 56.33 MB / 479.6 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004175/0.08318, allocations: 3.982 MB / 483.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.08462, allocations: 0.9869 MB / 484.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.08481, allocations: 15.88 kB / 484.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.08498, allocations: 47.61 kB / 484.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.08541, allocations: 175 kB / 484.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.08562, allocations: 87.89 kB / 484.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.08605, allocations: 434.5 kB / 485.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.08625, allocations: 93.69 kB / 485.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.08647, allocations: 147.2 kB / 485.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.08677, allocations: 179.3 kB / 485.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.08681, allocations: 12 kB / 485.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-05/0.08686, allocations: 12 kB / 485.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.511e-05/0.08695, allocations: 75.72 kB / 485.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.0871, allocations: 149 kB / 486 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.08731, allocations: 211.4 kB / 486.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.08732, allocations: 0 / 486.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08733, allocations: 0 / 486.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.08734, allocations: 0 / 486.2 MB, free: 11.07 MB / 330.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.0008745/0.08822, allocations: 0.5466 MB / 486.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.08826, allocations: 8.031 kB / 486.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/0.08834, allocations: 32.56 kB / 486.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.08878, allocations: 323 kB / 487.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.08881, allocations: 16.81 kB / 487.1 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.08895, allocations: 40.03 kB / 487.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/0.08937, allocations: 290 kB / 487.4 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.08939, allocations: 4 kB / 487.5 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.08942, allocations: 4 kB / 487.5 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.08943, allocations: 8 kB / 487.5 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.08974, allocations: 187.5 kB / 487.6 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.09117, allocations: 1.284 MB / 488.9 MB, free: 8.129 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.09144, allocations: 119.8 kB / 489 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.145e-05/0.09153, allocations: 46.62 kB / 489.1 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.09155, allocations: 3.938 kB / 489.1 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.09158, allocations: 38.5 kB / 489.1 MB, free: 7.879 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.09159, allocations: 0 / 489.1 MB, free: 7.879 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008756/0.09247, allocations: 0.5309 MB / 489.7 MB, free: 7.293 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.09254, allocations: 106.8 kB / 489.8 MB, free: 7.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.09277, allocations: 238.7 kB / 490 MB, free: 6.914 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.09279, allocations: 25.7 kB / 490 MB, free: 6.883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.09291, allocations: 199.8 kB / 490.2 MB, free: 6.684 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.09295, allocations: 47.44 kB / 490.3 MB, free: 6.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.09296, allocations: 0 / 490.3 MB, free: 6.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.09309, allocations: 338.8 kB / 490.6 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.429e-05/0.09317, allocations: 39.92 kB / 490.6 MB, free: 6.258 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.0933, allocations: 131.9 kB / 490.8 MB, free: 6.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.09353, allocations: 191.8 kB / 491 MB, free: 5.855 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.09353, allocations: 0 / 491 MB, free: 5.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003897/0.09393, allocations: 233.8 kB / 491.2 MB, free: 5.617 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.09395, allocations: 4 kB / 491.2 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.09397, allocations: 4.406 kB / 491.2 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001189/0.0941, allocations: 32.84 kB / 491.2 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.09443, allocations: 63.81 kB / 491.3 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.09445, allocations: 8.547 kB / 491.3 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.09457, allocations: 8 kB / 491.3 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.0946, allocations: 8 kB / 491.3 MB, free: 5.488 MB / 330.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.0001468/0.09475, allocations: 149.7 kB / 491.5 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.09481, allocations: 19.81 kB / 491.5 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.09508, allocations: 159.2 kB / 491.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.0951, allocations: 3.938 kB / 491.6 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.09511, allocations: 7.938 kB / 491.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.09512, allocations: 0 / 491.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.09546, allocations: 277.5 kB / 491.9 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.09547, allocations: 8 kB / 491.9 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.09564, allocations: 23.98 kB / 491.9 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.09565, allocations: 0 / 491.9 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.09568, allocations: 11.98 kB / 492 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.0957, allocations: 11.88 kB / 492 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.0957, allocations: 4 kB / 492 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.09607, allocations: 355.4 kB / 492.3 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.09613, allocations: 96.86 kB / 492.4 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.09617, allocations: 0 / 492.4 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.09632, allocations: 16 kB / 492.4 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.09635, allocations: 7.984 kB / 492.4 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.09637, allocations: 8.078 kB / 492.4 MB, free: 4.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.09652, allocations: 173.8 kB / 492.6 MB, free: 4.082 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09652, allocations: 0 / 492.6 MB, free: 4.082 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003284/0.09686, allocations: 44 kB / 492.7 MB, free: 4.039 MB / 330.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 9.726e-05/0.09696, allocations: 99.25 kB / 492.8 MB, free: 3.934 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003061/0.09727, allocations: 209.8 kB / 493 MB, free: 3.707 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.09729, allocations: 7.938 kB / 493 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.377e-05/0.09738, allocations: 51.86 kB / 493 MB, free: 3.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.09789, allocations: 45.47 kB / 493.1 MB, free: 3.602 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/0.09886, allocations: 0.7935 MB / 493.9 MB, free: 2.766 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.0992, allocations: 0.7677 MB / 494.6 MB, free: 1.973 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.09928, allocations: 27.42 kB / 494.6 MB, free: 1.945 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.09928, allocations: 0 / 494.6 MB, free: 1.945 MB / 330.7 MB Notification: Performance of Templates: time 0.005013/0.1043, allocations: 3.457 MB / 498.1 MB, free: 14.49 MB / 346.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)