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.00157/0.00157, allocations: 182.6 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 1.983/1.983, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.001124/0.001123, allocations: 102.7 kB / 270.2 MB, free: 13.35 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.2486/0.2486, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.0004441, allocations: 8 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 56.32 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4877/0.5932, allocations: 102.1 MB / 0.5675 GB, free: 13.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.5936, allocations: 98.02 kB / 0.5676 GB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06937/0.663, allocations: 15.69 MB / 0.583 GB, free: 15.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.663, allocations: 0 / 0.583 GB, free: 15.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.606e-05/0.6631, allocations: 23.92 kB / 0.583 GB, free: 15.95 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003852/0.667, allocations: 1.109 MB / 0.5841 GB, free: 14.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.667, allocations: 8.031 kB / 0.5841 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/0.6674, allocations: 87.11 kB / 0.5842 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005479/0.6729, allocations: 1.24 MB / 0.5854 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007324/0.6737, allocations: 346.6 kB / 0.5857 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.6739, allocations: 58.25 kB / 0.5858 GB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003962/0.6779, allocations: 1.11 MB / 0.5868 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.678, allocations: 0 / 0.5868 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.6781, allocations: 22.88 kB / 0.5869 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.6781, allocations: 19.95 kB / 0.5869 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005192/0.6833, allocations: 1.195 MB / 0.588 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008274/0.6917, allocations: 3.258 MB / 0.5912 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004192/0.6959, allocations: 0.8577 MB / 0.5921 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.696, allocations: 7.625 kB / 0.5921 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002808/0.6989, allocations: 0.6737 MB / 0.5927 GB, free: 7.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 3.327e-06/0.6989, allocations: 3.938 kB / 0.5927 GB, free: 7.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.007599/0.7065, allocations: 1.555 MB / 0.5943 GB, free: 6.266 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.7066, allocations: 144.4 kB / 0.5944 GB, free: 6.098 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006056/0.7073, allocations: 335.7 kB / 0.5947 GB, free: 5.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.7074, allocations: 47 kB / 0.5948 GB, free: 5.777 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.7077, allocations: 341.5 kB / 0.5951 GB, free: 5.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.7079, allocations: 156.8 kB / 0.5952 GB, free: 5.367 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.067e-05/0.708, allocations: 11.12 kB / 0.5952 GB, free: 5.367 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.7082, allocations: 337.3 kB / 0.5956 GB, free: 5.035 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.7103, allocations: 497.7 kB / 0.596 GB, free: 4.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.7124, allocations: 0.5919 MB / 0.5966 GB, free: 4.176 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/0.7143, allocations: 0.4902 MB / 0.5971 GB, free: 3.805 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.7144, allocations: 4 kB / 0.5971 GB, free: 3.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004389/0.7188, allocations: 1.133 MB / 0.5982 GB, free: 2.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.321e-05/0.7189, allocations: 48 kB / 0.5983 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.7189, allocations: 4 kB / 0.5983 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.7189, allocations: 4 kB / 0.5983 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01265/0.7316, allocations: 1.595 MB / 0.5998 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/0.7474, allocations: 4.983 MB / 0.6047 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.7489, allocations: 136.8 kB / 0.6048 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.7491, allocations: 35.47 kB / 0.6048 GB, free: 12.28 MB / 410.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 () * Number of clocked 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.0006287/0.7497, allocations: 258.3 kB / 0.6051 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.7499, allocations: 47.44 kB / 0.6051 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005293/0.7552, allocations: 1.113 MB / 0.6062 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.7553, allocations: 8 kB / 0.6062 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7553, allocations: 0 / 0.6062 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.7553, allocations: 3.984 kB / 0.6062 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00762/0.7629, allocations: 2.202 MB / 0.6084 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.763, allocations: 0 / 0.6084 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01547/0.7785, allocations: 1.834 MB / 0.6102 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.746e-05/0.7785, allocations: 4 kB / 0.6102 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/0.7787, allocations: 26.81 kB / 0.6102 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/0.7787, allocations: 7.938 kB / 0.6102 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.7787, allocations: 4 kB / 0.6102 GB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008155/0.7869, allocations: 1.968 MB / 0.6121 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/0.7875, allocations: 198.9 kB / 0.6123 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.7877, allocations: 35.12 kB / 0.6124 GB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.789, allocations: 127.7 kB / 0.6125 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003643/0.7894, allocations: 87.72 kB / 0.6126 GB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.839e-05/0.7895, allocations: 23.86 kB / 0.6126 GB, free: 5.422 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004678/0.79, allocations: 264.4 kB / 0.6128 GB, free: 5.219 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.79, allocations: 0 / 0.6128 GB, free: 5.219 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009733/0.791, allocations: 198.8 kB / 0.613 GB, free: 5.039 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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]) * Number of clocked states: 0 () * 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.0003215/0.7913, allocations: 142.7 kB / 0.6132 GB, free: 4.902 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01461/0.806, allocations: 2.437 MB / 0.6155 GB, free: 2.727 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.806, allocations: 0 / 0.6155 GB, free: 2.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007435/0.8135, allocations: 1.144 MB / 0.6167 GB, free: 1.719 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.8147, allocations: 117.9 kB / 0.6168 GB, free: 1.633 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006564/0.8213, allocations: 1.94 MB / 0.6187 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/0.8221, allocations: 0.9467 MB / 0.6196 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005082/0.8226, allocations: 43.44 kB / 0.6196 GB, free: 14.83 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.8226, allocations: 0 / 0.6196 GB, free: 14.83 MB / 426.7 MB Notification: Performance of Templates: time 0.02517/0.8478, allocations: 11.12 MB / 0.6305 GB, free: 3.809 MB / 426.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)