Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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_master_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002575/0.00258, allocations: 362.3 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.644/3.644, allocations: 388.9 MB / 406.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003557/0.003557, allocations: 223.9 kB / 452.2 MB, free: 14.56 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7519/0.7519, allocations: 76.01 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004484, allocations: 12 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0899/0.09038, allocations: 53.24 MB / 0.6742 GB, free: 60.94 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4678/0.5583, allocations: 88.89 MB / 0.761 GB, free: 81.63 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.5586, allocations: 96.11 kB / 0.7611 GB, free: 81.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02782/0.5865, allocations: 6.429 MB / 0.7674 GB, free: 80.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5865, allocations: 0.8125 kB / 0.7674 GB, free: 80.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.597e-05/0.5866, allocations: 7.688 kB / 0.7674 GB, free: 80.87 MB / 442.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.001282/0.5879, allocations: 0.5699 MB / 0.768 GB, free: 80.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.5879, allocations: 11.53 kB / 0.768 GB, free: 80.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.878e-05/0.588, allocations: 31.06 kB / 0.768 GB, free: 80.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.5892, allocations: 428.5 kB / 0.7684 GB, free: 80.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.5892, allocations: 16.11 kB / 0.7684 GB, free: 80.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.5895, allocations: 41.17 kB / 0.7685 GB, free: 80.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.5901, allocations: 296.6 kB / 0.7688 GB, free: 80.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.5901, allocations: 3.422 kB / 0.7688 GB, free: 80.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.5901, allocations: 10.5 kB / 0.7688 GB, free: 80.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.5902, allocations: 3.906 kB / 0.7688 GB, free: 80.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.5906, allocations: 187.2 kB / 0.769 GB, free: 80.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.5927, allocations: 1.269 MB / 0.7702 GB, free: 79.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.5931, allocations: 121.3 kB / 0.7703 GB, free: 79.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.5933, allocations: 51.31 kB / 0.7704 GB, free: 79.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.5933, allocations: 6.469 kB / 0.7704 GB, free: 79.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.5933, allocations: 33.25 kB / 0.7704 GB, free: 79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 2.575e-06/0.5933, allocations: 0 / 0.7704 GB, free: 79 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.001174/0.5945, allocations: 0.5397 MB / 0.7709 GB, free: 78.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.5946, allocations: 102.8 kB / 0.771 GB, free: 78.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.5949, allocations: 238.8 kB / 0.7712 GB, free: 78.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.5949, allocations: 26.69 kB / 0.7713 GB, free: 78.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.5951, allocations: 201.9 kB / 0.7715 GB, free: 78.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.5951, allocations: 38.42 kB / 0.7715 GB, free: 78.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.5951, allocations: 0 / 0.7715 GB, free: 78.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.332e-05/0.5952, allocations: 336.4 kB / 0.7718 GB, free: 77.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.5953, allocations: 39.64 kB / 0.7719 GB, free: 77.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.5955, allocations: 136.2 kB / 0.772 GB, free: 77.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.5957, allocations: 60.28 kB / 0.772 GB, free: 77.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5957, allocations: 3.094 kB / 0.7721 GB, free: 77.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005603/0.5963, allocations: 233.4 kB / 0.7723 GB, free: 77.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.5963, allocations: 8.625 kB / 0.7723 GB, free: 77.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.5963, allocations: 5 kB / 0.7723 GB, free: 77.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.5965, allocations: 30.88 kB / 0.7723 GB, free: 77.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006588/0.5972, allocations: 60.88 kB / 0.7724 GB, free: 77.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.5972, allocations: 8.406 kB / 0.7724 GB, free: 77.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.5975, allocations: 12.03 kB / 0.7724 GB, free: 77.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.5975, allocations: 11.98 kB / 0.7724 GB, free: 77.7 MB / 442.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.0002127/0.5977, allocations: 152.1 kB / 0.7725 GB, free: 77.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.5978, allocations: 27.31 kB / 0.7726 GB, free: 77.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.5982, allocations: 147.3 kB / 0.7727 GB, free: 77.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5982, allocations: 2.188 kB / 0.7727 GB, free: 77.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.5982, allocations: 4.781 kB / 0.7727 GB, free: 77.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5982, allocations: 3.938 kB / 0.7727 GB, free: 77.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.5987, allocations: 292.6 kB / 0.773 GB, free: 77.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.5987, allocations: 3.953 kB / 0.773 GB, free: 77.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.599, allocations: 30.33 kB / 0.773 GB, free: 77.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/0.5991, allocations: 6.125 kB / 0.773 GB, free: 77.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.5991, allocations: 3.562 kB / 0.773 GB, free: 77.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5991, allocations: 3.844 kB / 0.7731 GB, free: 77.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5991, allocations: 2.141 kB / 0.7731 GB, free: 77.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.5996, allocations: 373.1 kB / 0.7734 GB, free: 77.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.5997, allocations: 98.36 kB / 0.7735 GB, free: 76.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.5997, allocations: 7.094 kB / 0.7735 GB, free: 76.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.6, allocations: 3.625 kB / 0.7735 GB, free: 76.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.6, allocations: 15.16 kB / 0.7735 GB, free: 76.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.6001, allocations: 11.84 kB / 0.7735 GB, free: 76.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001923/0.6003, allocations: 168.3 kB / 0.7737 GB, free: 76.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6003, allocations: 0 / 0.7737 GB, free: 76.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004839/0.6008, allocations: 53.94 kB / 0.7738 GB, free: 76.9 MB / 442.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.0001214/0.6009, allocations: 104.1 kB / 0.7738 GB, free: 76.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004458/0.6013, allocations: 218.5 kB / 0.7741 GB, free: 76.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6014, allocations: 4.062 kB / 0.7741 GB, free: 76.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.6015, allocations: 50.92 kB / 0.7741 GB, free: 76.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007082/0.6022, allocations: 46.84 kB / 0.7742 GB, free: 76.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.6036, allocations: 0.7708 MB / 0.7749 GB, free: 76.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.6039, allocations: 0.7779 MB / 0.7757 GB, free: 75.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.6041, allocations: 31.06 kB / 0.7757 GB, free: 75.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.6042, allocations: 25.22 kB / 0.7757 GB, free: 75.52 MB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6042, allocations: 0 / 0.7757 GB, free: 75.52 MB / 442.7 MB Notification: Performance of Templates: time 0.007563/0.6118, allocations: 2.065 MB / 0.7777 GB, free: 75.4 MB / 442.7 MB