Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 182.1 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.923/1.923, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001104/0.001104, allocations: 94.73 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.2545/0.2545, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004362, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1037, allocations: 56.32 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5558/0.6595, allocations: 101.1 MB / 0.5665 GB, free: 14.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/0.6599, allocations: 101.6 kB / 0.5666 GB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07135/0.7313, allocations: 15.3 MB / 0.5816 GB, free: 1.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.7313, allocations: 0 / 0.5816 GB, free: 1.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.677e-05/0.7314, allocations: 16 kB / 0.5816 GB, free: 1.477 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.003079/0.7345, allocations: 0.881 MB / 0.5824 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.7346, allocations: 8.031 kB / 0.5825 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/0.7349, allocations: 74.86 kB / 0.5825 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005378/0.7403, allocations: 1.086 MB / 0.5836 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.35e-05/0.7404, allocations: 38.38 kB / 0.5836 GB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.7406, allocations: 46.12 kB / 0.5837 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.7427, allocations: 0.623 MB / 0.5843 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.7428, allocations: 0 / 0.5843 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.7429, allocations: 22.55 kB / 0.5843 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.7429, allocations: 16 kB / 0.5843 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.7449, allocations: 0.5087 MB / 0.5848 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007032/0.752, allocations: 2.245 MB / 0.587 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.7537, allocations: 491.1 kB / 0.5875 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.343e-05/0.7538, allocations: 4.062 kB / 0.5875 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.7539, allocations: 34.06 kB / 0.5875 GB, free: 12.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=45): time 4.829e-06/0.7539, allocations: 0 / 0.5875 GB, free: 12.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.00895/0.7628, allocations: 1.694 MB / 0.5892 GB, free: 10.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.763, allocations: 81.11 kB / 0.5892 GB, free: 10.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008833/0.7639, allocations: 369.3 kB / 0.5896 GB, free: 10.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.288e-05/0.764, allocations: 35.83 kB / 0.5896 GB, free: 10.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.7643, allocations: 341.2 kB / 0.5899 GB, free: 10.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.7646, allocations: 160.8 kB / 0.5901 GB, free: 10.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-05/0.7646, allocations: 8.062 kB / 0.5901 GB, free: 10.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.7649, allocations: 333.8 kB / 0.5904 GB, free: 9.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000697/0.7656, allocations: 181.4 kB / 0.5906 GB, free: 9.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008242/0.7664, allocations: 303 kB / 0.5909 GB, free: 9.289 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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.004411/0.7708, allocations: 0.7537 MB / 0.5916 GB, free: 8.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.7709, allocations: 0 / 0.5916 GB, free: 8.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002445/0.7733, allocations: 0.6527 MB / 0.5923 GB, free: 8.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.7734, allocations: 10.81 kB / 0.5923 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.7734, allocations: 4 kB / 0.5923 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007745/0.7742, allocations: 132.4 kB / 0.5924 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.7754, allocations: 115.3 kB / 0.5925 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005483/0.7809, allocations: 2.308 MB / 0.5948 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008176/0.7817, allocations: 26.91 kB / 0.5948 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/0.7818, allocations: 23.75 kB / 0.5948 GB, free: 5.832 MB / 394.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[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * 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 {(3,88.9%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006318/0.7825, allocations: 241.6 kB / 0.595 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.7827, allocations: 51.39 kB / 0.5951 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/0.7851, allocations: 0.6278 MB / 0.5957 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.7851, allocations: 8 kB / 0.5957 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.7851, allocations: 4 kB / 0.5957 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.7852, allocations: 4 kB / 0.5957 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/0.7895, allocations: 1.337 MB / 0.597 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.7896, allocations: 4.047 kB / 0.597 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009097/0.7905, allocations: 83.39 kB / 0.5971 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007825/0.7913, allocations: 124.5 kB / 0.5972 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-05/0.7914, allocations: 15.11 kB / 0.5972 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00549/0.7969, allocations: 2.317 MB / 0.5995 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/0.7969, allocations: 8.031 kB / 0.5995 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/0.8003, allocations: 1.026 MB / 0.6005 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.8005, allocations: 127.6 kB / 0.6006 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.8007, allocations: 10.88 kB / 0.6007 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006263/0.8013, allocations: 17.41 kB / 0.6007 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.8015, allocations: 39.38 kB / 0.6007 GB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-05/0.8016, allocations: 12 kB / 0.6007 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000685/0.8023, allocations: 289.2 kB / 0.601 GB, free: 436 kB / 394.7 MB Notification: Performance of sort global known variables: time 2.835e-06/0.8023, allocations: 0 / 0.601 GB, free: 436 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001376/0.8037, allocations: 149.1 kB / 0.6011 GB, free: 304 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i[2]) * 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 (42): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003016/0.804, allocations: 122.9 kB / 0.6013 GB, free: 180 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.8064, allocations: 0.6547 MB / 0.6019 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.8064, allocations: 0 / 0.6019 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.8077, allocations: 433.3 kB / 0.6023 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.8087, allocations: 116.9 kB / 0.6024 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.8123, allocations: 1.642 MB / 0.604 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007589/0.8131, allocations: 0.9441 MB / 0.6049 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.8134, allocations: 43.42 kB / 0.605 GB, free: 12.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.8134, allocations: 4 kB / 0.605 GB, free: 12.66 MB / 410.7 MB Notification: Performance of Templates: time 0.02005/0.8335, allocations: 8.932 MB / 0.6137 GB, free: 3.801 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1)