Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.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.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002155/0.002154, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.271/2.271, allocations: 205.3 MB / 213.7 MB, free: 1.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 86.64 kB / 261.8 MB, free: 1.684 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.2666/0.2666, allocations: 37.99 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.648e-05, allocations: 0 / 409.9 MB, free: 35.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5191/0.6298, allocations: 110.4 MB / 0.563 GB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.6301, allocations: 97.5 kB / 0.5631 GB, free: 1.465 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09882/0.729, allocations: 21.65 MB / 0.5843 GB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.729, allocations: 0 / 0.5843 GB, free: 15.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.955e-05/0.7291, allocations: 12 kB / 0.5843 GB, free: 15.14 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00328/0.7324, allocations: 0.9443 MB / 0.5852 GB, free: 14.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.7325, allocations: 12.03 kB / 0.5852 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.7338, allocations: 122.9 kB / 0.5853 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004955/0.7388, allocations: 1.14 MB / 0.5864 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/0.7389, allocations: 23.95 kB / 0.5865 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.7391, allocations: 43.12 kB / 0.5865 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00224/0.7414, allocations: 0.7367 MB / 0.5872 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.7437, allocations: 0.8945 MB / 0.5881 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.7438, allocations: 7.922 kB / 0.5881 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.149e-05/0.7439, allocations: 0 / 0.5881 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002486/0.7441, allocations: 68.7 kB / 0.5882 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009529/0.7537, allocations: 3.148 MB / 0.5912 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.7556, allocations: 0.69 MB / 0.5919 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.7567, allocations: 453.7 kB / 0.5924 GB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.353e-05/0.7568, allocations: 12.19 kB / 0.5924 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.7569, allocations: 42.25 kB / 0.5924 GB, free: 8.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 3.337e-06/0.7569, allocations: 0 / 0.5924 GB, free: 8.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=79): time 0.008364/0.7653, allocations: 2.474 MB / 0.5948 GB, free: 6.105 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.7654, allocations: 85.66 kB / 0.5949 GB, free: 6.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006023/0.766, allocations: 334.8 kB / 0.5952 GB, free: 5.734 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.7662, allocations: 29.69 kB / 0.5953 GB, free: 5.699 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.7665, allocations: 386.2 kB / 0.5956 GB, free: 5.387 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000371/0.7669, allocations: 273.8 kB / 0.5959 GB, free: 5.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.7669, allocations: 4 kB / 0.5959 GB, free: 5.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.7671, allocations: 339.2 kB / 0.5962 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.7682, allocations: 355.5 kB / 0.5965 GB, free: 4.586 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.7692, allocations: 0.5128 MB / 0.597 GB, free: 4.148 MB / 394.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.01778/0.787, allocations: 2.898 MB / 0.5999 GB, free: 1.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.7871, allocations: 0 / 0.5999 GB, free: 1.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003528/0.7906, allocations: 1.181 MB / 0.601 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.7907, allocations: 4.625 kB / 0.601 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.7907, allocations: 8 kB / 0.601 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.7909, allocations: 36.47 kB / 0.6011 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.7926, allocations: 202 kB / 0.6013 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.7942, allocations: 1.335 MB / 0.6026 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009733/0.7952, allocations: 35.89 kB / 0.6026 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.932e-05/0.7954, allocations: 26.88 kB / 0.6026 GB, free: 14.91 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: ind.i[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 89 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002709/0.7956, allocations: 127.5 kB / 0.6028 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.7958, allocations: 59.2 kB / 0.6028 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/0.7994, allocations: 1.139 MB / 0.6039 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001385/0.7996, allocations: 27.3 kB / 0.604 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7996, allocations: 0 / 0.604 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.7996, allocations: 7.984 kB / 0.604 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006489/0.8061, allocations: 2.076 MB / 0.606 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.8062, allocations: 4 kB / 0.606 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.8076, allocations: 166.7 kB / 0.6061 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001622/0.8078, allocations: 31.78 kB / 0.6062 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.397e-05/0.8079, allocations: 18.8 kB / 0.6062 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.8093, allocations: 1.324 MB / 0.6075 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/0.8094, allocations: 7.938 kB / 0.6075 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004291/0.8137, allocations: 1.909 MB / 0.6094 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.814, allocations: 136.2 kB / 0.6095 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.8142, allocations: 15.25 kB / 0.6095 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/0.8149, allocations: 27.95 kB / 0.6095 GB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.815, allocations: 67.31 kB / 0.6096 GB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/0.8151, allocations: 23.44 kB / 0.6096 GB, free: 8.422 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004308/0.8156, allocations: 248 kB / 0.6099 GB, free: 8.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-07/0.8156, allocations: 0 / 0.6099 GB, free: 8.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001123/0.8167, allocations: 175.9 kB / 0.61 GB, free: 8.059 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004125/0.8171, allocations: 166 kB / 0.6102 GB, free: 7.891 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002517/0.8197, allocations: 0.9538 MB / 0.6111 GB, free: 7.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.8197, allocations: 384 / 0.6111 GB, free: 7.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.821, allocations: 0.531 MB / 0.6116 GB, free: 6.539 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.8222, allocations: 107.1 kB / 0.6117 GB, free: 6.434 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.8266, allocations: 1.713 MB / 0.6134 GB, free: 4.625 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009921/0.8277, allocations: 1.033 MB / 0.6144 GB, free: 3.562 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/0.8282, allocations: 59.42 kB / 0.6145 GB, free: 3.504 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.8282, allocations: 0 / 0.6145 GB, free: 3.504 MB / 410.7 MB Notification: Performance of Templates: time 0.02903/0.8573, allocations: 11.77 MB / 0.626 GB, free: 7.734 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1)