Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001103/0.001103, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.696/1.696, allocations: 194.3 MB / 208.4 MB, free: 6.695 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001728/0.001728, allocations: 106.3 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1791/0.1791, allocations: 37.91 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.822e-05/3.826e-05, allocations: 4 kB / 397.5 MB, free: 1.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2943, allocations: 53.22 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4157/0.7101, allocations: 106 MB / 0.5438 GB, free: 28.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.7103, allocations: 90.34 kB / 0.5438 GB, free: 28.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05466/0.765, allocations: 21.82 MB / 0.5651 GB, free: 25.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.765, allocations: 0 / 0.5651 GB, free: 25.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.092e-05/0.7651, allocations: 15.66 kB / 0.5652 GB, free: 25.59 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00173/0.7668, allocations: 0.9438 MB / 0.5661 GB, free: 24.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.7669, allocations: 11.62 kB / 0.5661 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000625/0.7675, allocations: 128.7 kB / 0.5662 GB, free: 24.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.77, allocations: 1.142 MB / 0.5673 GB, free: 24.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.7701, allocations: 52.11 kB / 0.5674 GB, free: 24.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.7702, allocations: 70.66 kB / 0.5675 GB, free: 24.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.7715, allocations: 0.9782 MB / 0.5684 GB, free: 23.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.7715, allocations: 11.92 kB / 0.5684 GB, free: 23.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.7716, allocations: 23.66 kB / 0.5684 GB, free: 23.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.7717, allocations: 63.16 kB / 0.5685 GB, free: 23.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.7729, allocations: 0.9259 MB / 0.5694 GB, free: 23.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003904/0.7768, allocations: 3.211 MB / 0.5725 GB, free: 22.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009393/0.7778, allocations: 0.6942 MB / 0.5732 GB, free: 21.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/0.7783, allocations: 437.5 kB / 0.5736 GB, free: 21.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.632e-05/0.7783, allocations: 12.19 kB / 0.5736 GB, free: 21.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.7784, allocations: 46.52 kB / 0.5737 GB, free: 21.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=77): time 2.334e-06/0.7784, allocations: 4 kB / 0.5737 GB, free: 21.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.00267/0.7811, allocations: 2.083 MB / 0.5757 GB, free: 21.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.7811, allocations: 89.41 kB / 0.5758 GB, free: 20.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.7815, allocations: 373.8 kB / 0.5762 GB, free: 20.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.7815, allocations: 35.89 kB / 0.5762 GB, free: 20.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.7816, allocations: 351.7 kB / 0.5765 GB, free: 20.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.7818, allocations: 273.2 kB / 0.5768 GB, free: 20.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.7818, allocations: 21.42 kB / 0.5768 GB, free: 20.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.7819, allocations: 379 kB / 0.5772 GB, free: 20.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.7823, allocations: 344.3 kB / 0.5775 GB, free: 19.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.7828, allocations: 0.5066 MB / 0.578 GB, free: 19.77 MB / 378.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.008011/0.7908, allocations: 2.753 MB / 0.5807 GB, free: 18.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.7909, allocations: 3.875 kB / 0.5807 GB, free: 18.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001371/0.7922, allocations: 1.096 MB / 0.5818 GB, free: 18.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.7923, allocations: 7.75 kB / 0.5818 GB, free: 18.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.7923, allocations: 3.969 kB / 0.5818 GB, free: 18.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/0.7924, allocations: 46.91 kB / 0.5818 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/0.7932, allocations: 193.3 kB / 0.582 GB, free: 18.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007907/0.794, allocations: 1.391 MB / 0.5834 GB, free: 16.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/0.7945, allocations: 45.02 kB / 0.5834 GB, free: 16.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.7945, allocations: 30.61 kB / 0.5834 GB, free: 16.92 MB / 378.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.0001507/0.7947, allocations: 160.7 kB / 0.5836 GB, free: 16.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.693e-05/0.7948, allocations: 61.69 kB / 0.5837 GB, free: 16.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.7961, allocations: 1.006 MB / 0.5846 GB, free: 16.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/0.7962, allocations: 19.52 kB / 0.5847 GB, free: 16.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7962, allocations: 7.891 kB / 0.5847 GB, free: 16.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.7962, allocations: 0 / 0.5847 GB, free: 16.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.799, allocations: 2.076 MB / 0.5867 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.799, allocations: 3.875 kB / 0.5867 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/0.7996, allocations: 173.5 kB / 0.5869 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.7998, allocations: 34.28 kB / 0.5869 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/0.7998, allocations: 29.88 kB / 0.5869 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007014/0.8005, allocations: 1.387 MB / 0.5883 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8005, allocations: 7.781 kB / 0.5883 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.8021, allocations: 1.809 MB / 0.59 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.8023, allocations: 143.3 kB / 0.5902 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.8024, allocations: 22.06 kB / 0.5902 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.8027, allocations: 34.64 kB / 0.5902 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.8028, allocations: 66.97 kB / 0.5903 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.8029, allocations: 26.12 kB / 0.5903 GB, free: 13.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002776/0.8032, allocations: 280.6 kB / 0.5906 GB, free: 12.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.8032, allocations: 0 / 0.5906 GB, free: 12.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007056/0.8039, allocations: 211.9 kB / 0.5908 GB, free: 12.9 MB / 378.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.0002583/0.8042, allocations: 157.9 kB / 0.5909 GB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.8054, allocations: 0.9749 MB / 0.5919 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.8055, allocations: 0 / 0.5919 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000572/0.806, allocations: 0.5393 MB / 0.5924 GB, free: 12.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.8067, allocations: 126.8 kB / 0.5925 GB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.8089, allocations: 1.7 MB / 0.5942 GB, free: 11.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.8093, allocations: 1.032 MB / 0.5952 GB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005651/0.8099, allocations: 202 kB / 0.5954 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.8101, allocations: 54.14 kB / 0.5955 GB, free: 10.51 MB / 378.7 MB Notification: Performance of SimCode: time 5.52e-07/0.8101, allocations: 0 / 0.5955 GB, free: 10.51 MB / 378.7 MB Notification: Performance of Templates: time 0.0118/0.8219, allocations: 7.579 MB / 0.6029 GB, free: 6.367 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1)