Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00208/0.00208, allocations: 184.8 kB / 13.19 MB, free: 2.125 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.102/2.102, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.001118/0.001118, allocations: 95.92 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2612/0.2612, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.257e-05, allocations: 0 / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 56.32 MB / 473.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4761/0.5956, allocations: 102 MB / 0.5617 GB, free: 1.707 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/0.596, allocations: 95.94 kB / 0.5618 GB, free: 1.613 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07137/0.6674, allocations: 15.69 MB / 0.5771 GB, free: 1.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6674, allocations: 0 / 0.5771 GB, free: 1.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.613e-05/0.6675, allocations: 20.12 kB / 0.5771 GB, free: 1.73 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003661/0.6712, allocations: 1.034 MB / 0.5781 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.6713, allocations: 12.03 kB / 0.5781 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004264/0.6717, allocations: 87.11 kB / 0.5782 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005751/0.6775, allocations: 1.222 MB / 0.5794 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006986/0.6782, allocations: 354.8 kB / 0.5797 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.6785, allocations: 59.91 kB / 0.5798 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/0.6809, allocations: 0.9005 MB / 0.5807 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.681, allocations: 3.938 kB / 0.5807 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.6811, allocations: 20 kB / 0.5807 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.6812, allocations: 19.95 kB / 0.5807 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.6836, allocations: 0.8354 MB / 0.5815 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008233/0.6919, allocations: 3.261 MB / 0.5847 GB, free: 9.641 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.6936, allocations: 0.5467 MB / 0.5853 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.6946, allocations: 406.9 kB / 0.5856 GB, free: 8.672 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.102e-05/0.6947, allocations: 4.438 kB / 0.5856 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.6959, allocations: 481.8 kB / 0.5861 GB, free: 8.168 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 3.376e-06/0.6959, allocations: 0 / 0.5861 GB, free: 8.168 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.001966/0.6979, allocations: 0.6675 MB / 0.5868 GB, free: 7.496 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.287e-05/0.698, allocations: 144.5 kB / 0.5869 GB, free: 7.324 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/0.6986, allocations: 339 kB / 0.5872 GB, free: 6.988 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.6987, allocations: 41.7 kB / 0.5873 GB, free: 6.941 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.699, allocations: 337.5 kB / 0.5876 GB, free: 6.613 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.6993, allocations: 161.7 kB / 0.5877 GB, free: 6.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.6994, allocations: 12 kB / 0.5877 GB, free: 6.441 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6995, allocations: 346.9 kB / 0.5881 GB, free: 6.094 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008846/0.7004, allocations: 325.2 kB / 0.5884 GB, free: 5.777 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009623/0.7014, allocations: 442.5 kB / 0.5888 GB, free: 5.305 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/0.7023, allocations: 344.8 kB / 0.5891 GB, free: 4.961 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7023, allocations: 4 kB / 0.5891 GB, free: 4.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002116/0.7044, allocations: 0.8165 MB / 0.5899 GB, free: 4.125 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/0.7045, allocations: 49.69 kB / 0.59 GB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.7046, allocations: 7.938 kB / 0.59 GB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.7046, allocations: 4.375 kB / 0.59 GB, free: 4.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01227/0.7169, allocations: 1.596 MB / 0.5916 GB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008882/0.7258, allocations: 4.091 MB / 0.5956 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.7272, allocations: 151.2 kB / 0.5957 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.7273, allocations: 35.98 kB / 0.5957 GB, free: 13.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.sigdel_t,inverter.modulator.sigdel_t,$PRE.inverter.modulator.t0,inverter.modulator.t0) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002859/0.7276, allocations: 152.5 kB / 0.5959 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.7278, allocations: 43.44 kB / 0.5959 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.7298, allocations: 0.7116 MB / 0.5966 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.7299, allocations: 4 kB / 0.5966 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.7299, allocations: 0 / 0.5966 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.7299, allocations: 7.984 kB / 0.5966 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/0.7343, allocations: 1.854 MB / 0.5984 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.7343, allocations: 4 kB / 0.5984 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01492/0.7492, allocations: 1.83 MB / 0.6002 GB, free: 9.227 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.792e-05/0.7493, allocations: 4 kB / 0.6002 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.7495, allocations: 19.98 kB / 0.6002 GB, free: 9.203 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.962e-05/0.7495, allocations: 7.938 kB / 0.6003 GB, free: 9.195 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7495, allocations: 0 / 0.6003 GB, free: 9.195 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/0.7527, allocations: 1.364 MB / 0.6016 GB, free: 7.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.7532, allocations: 208.3 kB / 0.6018 GB, free: 7.527 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.7534, allocations: 27.98 kB / 0.6018 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.7547, allocations: 123.9 kB / 0.6019 GB, free: 7.379 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/0.7551, allocations: 87.84 kB / 0.602 GB, free: 7.293 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/0.7552, allocations: 23.94 kB / 0.602 GB, free: 7.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000449/0.7556, allocations: 261.2 kB / 0.6023 GB, free: 7.016 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7556, allocations: 0 / 0.6023 GB, free: 7.016 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009169/0.7566, allocations: 191.7 kB / 0.6025 GB, free: 6.828 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0003204/0.7569, allocations: 143.9 kB / 0.6026 GB, free: 6.676 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01129/0.7682, allocations: 2.071 MB / 0.6046 GB, free: 4.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.7683, allocations: 4.062 kB / 0.6046 GB, free: 4.586 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005535/0.7738, allocations: 0.9562 MB / 0.6056 GB, free: 3.629 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.775, allocations: 122 kB / 0.6057 GB, free: 3.512 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/0.78, allocations: 1.359 MB / 0.607 GB, free: 2.098 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.7807, allocations: 0.9411 MB / 0.6079 GB, free: 1.129 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004604/0.7812, allocations: 43.42 kB / 0.608 GB, free: 1.086 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/0.7812, allocations: 0 / 0.608 GB, free: 1.086 MB / 442.7 MB Notification: Performance of Templates: time 0.02404/0.8052, allocations: 11.09 MB / 0.6188 GB, free: 5.988 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1)