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.001435/0.001439, allocations: 185.1 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.004/2.004, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001084/0.001084, allocations: 92 kB / 267.1 MB, free: 9.266 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.271/0.271, allocations: 37.97 MB / 353.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.574e-05/3.59e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 56.32 MB / 473.1 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5581/0.6619, allocations: 111 MB / 0.5705 GB, free: 8.676 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004177/0.6623, allocations: 87.95 kB / 0.5706 GB, free: 8.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1293/0.7917, allocations: 21.82 MB / 0.5919 GB, free: 2.516 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7917, allocations: 4 kB / 0.5919 GB, free: 2.512 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.978e-05/0.7918, allocations: 16 kB / 0.5919 GB, free: 2.496 MB / 426.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.002987/0.7948, allocations: 0.9421 MB / 0.5928 GB, free: 1.508 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.7949, allocations: 12.03 kB / 0.5928 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.796, allocations: 122.9 kB / 0.5929 GB, free: 1.375 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004726/0.8007, allocations: 1.143 MB / 0.594 GB, free: 192 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/0.8009, allocations: 53.27 kB / 0.5941 GB, free: 140 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.8011, allocations: 67.98 kB / 0.5942 GB, free: 72 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.8036, allocations: 0.9756 MB / 0.5951 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.8037, allocations: 7.938 kB / 0.5951 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.8038, allocations: 24 kB / 0.5951 GB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002344/0.8041, allocations: 69.2 kB / 0.5952 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/0.8066, allocations: 0.9193 MB / 0.5961 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008442/0.815, allocations: 3.217 MB / 0.5993 GB, free: 10.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.8171, allocations: 0.7034 MB / 0.5999 GB, free: 9.988 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.8182, allocations: 450.5 kB / 0.6004 GB, free: 9.543 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-05/0.8183, allocations: 12.55 kB / 0.6004 GB, free: 9.531 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.8184, allocations: 39.12 kB / 0.6004 GB, free: 9.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=77): time 4.097e-06/0.8184, allocations: 0 / 0.6004 GB, free: 9.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=79): time 0.005619/0.824, allocations: 2.1 MB / 0.6025 GB, free: 7.309 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.8242, allocations: 89.61 kB / 0.6026 GB, free: 7.203 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007328/0.8249, allocations: 371 kB / 0.6029 GB, free: 6.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.825, allocations: 37.7 kB / 0.6029 GB, free: 6.797 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.8254, allocations: 390.2 kB / 0.6033 GB, free: 6.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/0.8257, allocations: 264 kB / 0.6036 GB, free: 6.148 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/0.8258, allocations: 20.03 kB / 0.6036 GB, free: 6.129 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.826, allocations: 350.8 kB / 0.6039 GB, free: 5.777 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.8271, allocations: 345.7 kB / 0.6043 GB, free: 5.438 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.8282, allocations: 0.5042 MB / 0.6047 GB, free: 4.871 MB / 442.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.01694/0.8451, allocations: 2.747 MB / 0.6074 GB, free: 2.105 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.8452, allocations: 4 kB / 0.6074 GB, free: 2.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002786/0.848, allocations: 1.067 MB / 0.6085 GB, free: 1.008 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.848, allocations: 8 kB / 0.6085 GB, free: 1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.8481, allocations: 4.594 kB / 0.6085 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002495/0.8483, allocations: 44.83 kB / 0.6085 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.8501, allocations: 199.7 kB / 0.6087 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.8517, allocations: 1.394 MB / 0.6101 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.8528, allocations: 39.95 kB / 0.6101 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.853, allocations: 35.97 kB / 0.6102 GB, free: 15.15 MB / 458.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.000285/0.8532, allocations: 157.5 kB / 0.6103 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.8534, allocations: 55.25 kB / 0.6104 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/0.8561, allocations: 1.015 MB / 0.6113 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.702e-05/0.8562, allocations: 19.98 kB / 0.6114 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.8562, allocations: 4 kB / 0.6114 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.8562, allocations: 3.984 kB / 0.6114 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00589/0.8621, allocations: 2.075 MB / 0.6134 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.8622, allocations: 4 kB / 0.6134 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.8637, allocations: 167.8 kB / 0.6136 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/0.8639, allocations: 32.84 kB / 0.6136 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.864, allocations: 27.98 kB / 0.6136 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.8655, allocations: 1.374 MB / 0.615 GB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/0.8655, allocations: 8 kB / 0.615 GB, free: 9.906 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003834/0.8694, allocations: 1.82 MB / 0.6167 GB, free: 7.871 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.8697, allocations: 144.3 kB / 0.6169 GB, free: 7.711 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.8699, allocations: 28.05 kB / 0.6169 GB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007005/0.8706, allocations: 32.09 kB / 0.6169 GB, free: 7.652 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.8708, allocations: 68.36 kB / 0.617 GB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.258e-05/0.8709, allocations: 28 kB / 0.617 GB, free: 7.559 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005382/0.8715, allocations: 289.2 kB / 0.6173 GB, free: 7.273 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.8715, allocations: 0 / 0.6173 GB, free: 7.273 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001189/0.8727, allocations: 207.9 kB / 0.6175 GB, free: 7.07 MB / 458.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.0004604/0.8732, allocations: 155 kB / 0.6177 GB, free: 6.906 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00278/0.876, allocations: 0.9753 MB / 0.6186 GB, free: 5.918 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.876, allocations: 0 / 0.6186 GB, free: 5.918 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.8775, allocations: 0.541 MB / 0.6191 GB, free: 5.363 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.8788, allocations: 126.9 kB / 0.6193 GB, free: 5.242 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.8836, allocations: 1.763 MB / 0.621 GB, free: 3.387 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009918/0.8846, allocations: 1.029 MB / 0.622 GB, free: 2.332 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005109/0.8852, allocations: 59.42 kB / 0.622 GB, free: 2.273 MB / 458.7 MB Notification: Performance of SimCode: time 1.673e-06/0.8852, allocations: 0 / 0.622 GB, free: 2.273 MB / 458.7 MB Notification: Performance of Templates: time 0.03277/0.918, allocations: 11.82 MB / 0.6336 GB, free: 6.441 MB / 474.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)