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.001466/0.001466, allocations: 186.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.006/2.006, 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.001131/0.001131, allocations: 91.73 kB / 267.1 MB, free: 9.281 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.3703/0.3703, allocations: 37.97 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.479e-05/3.492e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 56.31 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4733/0.575, allocations: 101 MB / 0.5607 GB, free: 2.719 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/0.5754, allocations: 91.89 kB / 0.5608 GB, free: 2.629 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07194/0.6473, allocations: 15.29 MB / 0.5757 GB, free: 3.164 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6474, allocations: 0 / 0.5757 GB, free: 3.164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.458e-05/0.6474, allocations: 16 kB / 0.5757 GB, free: 3.148 MB / 410.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.002097/0.6495, allocations: 0.7943 MB / 0.5765 GB, free: 2.309 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.6496, allocations: 12.03 kB / 0.5765 GB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.6498, allocations: 71.11 kB / 0.5766 GB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004379/0.6542, allocations: 1.069 MB / 0.5776 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.6543, allocations: 37 kB / 0.5776 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.6545, allocations: 52 kB / 0.5777 GB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.656, allocations: 0.618 MB / 0.5783 GB, free: 380 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.6561, allocations: 0 / 0.5783 GB, free: 380 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.6562, allocations: 27.94 kB / 0.5783 GB, free: 352 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.6562, allocations: 12 kB / 0.5783 GB, free: 340 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.6575, allocations: 0.5035 MB / 0.5788 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00509/0.6626, allocations: 2.23 MB / 0.581 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.664, allocations: 477.1 kB / 0.5815 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.6651, allocations: 333.7 kB / 0.5818 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.393e-05/0.6651, allocations: 11.94 kB / 0.5818 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.6652, allocations: 42.55 kB / 0.5818 GB, free: 12.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 3.537e-06/0.6652, allocations: 0 / 0.5818 GB, free: 12.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=47): time 0.003631/0.6688, allocations: 1.341 MB / 0.5831 GB, free: 11.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.6689, allocations: 81.11 kB / 0.5832 GB, free: 11.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/0.6696, allocations: 367.1 kB / 0.5836 GB, free: 10.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/0.6696, allocations: 29.7 kB / 0.5836 GB, free: 10.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.6699, allocations: 334.8 kB / 0.5839 GB, free: 10.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.6701, allocations: 161.6 kB / 0.5841 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.6702, allocations: 15.94 kB / 0.5841 GB, free: 10.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6703, allocations: 338.8 kB / 0.5844 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/0.6708, allocations: 181 kB / 0.5846 GB, free: 9.703 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/0.6714, allocations: 303.7 kB / 0.5849 GB, free: 9.355 MB / 426.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.003418/0.6749, allocations: 0.7478 MB / 0.5856 GB, free: 8.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6749, allocations: 3.938 kB / 0.5856 GB, free: 8.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001829/0.6767, allocations: 0.6488 MB / 0.5862 GB, free: 7.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.6768, allocations: 8 kB / 0.5862 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.6768, allocations: 4 kB / 0.5862 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006324/0.6774, allocations: 138.3 kB / 0.5864 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000868/0.6783, allocations: 107.9 kB / 0.5865 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004242/0.6826, allocations: 2.343 MB / 0.5888 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006095/0.6832, allocations: 27.89 kB / 0.5888 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-05/0.6833, allocations: 23.98 kB / 0.5888 GB, free: 5.152 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002183/0.6836, allocations: 149.6 kB / 0.589 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.6837, allocations: 47.44 kB / 0.589 GB, free: 4.953 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.6855, allocations: 0.6306 MB / 0.5896 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.6856, allocations: 7.984 kB / 0.5896 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.6856, allocations: 7.953 kB / 0.5896 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.6856, allocations: 4.094 kB / 0.5896 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/0.689, allocations: 1.342 MB / 0.5909 GB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.689, allocations: 7.984 kB / 0.591 GB, free: 2.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006844/0.6897, allocations: 75.89 kB / 0.591 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006408/0.6904, allocations: 136.7 kB / 0.5912 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.6905, allocations: 12.11 kB / 0.5912 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004056/0.6945, allocations: 2.334 MB / 0.5934 GB, free: 164 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.6946, allocations: 11.89 kB / 0.5935 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.697, allocations: 1.025 MB / 0.5945 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.6972, allocations: 128.4 kB / 0.5946 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.6973, allocations: 12 kB / 0.5946 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/0.6977, allocations: 19.98 kB / 0.5946 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.6979, allocations: 43.64 kB / 0.5947 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.6979, allocations: 19.98 kB / 0.5947 GB, free: 14.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004903/0.6984, allocations: 277.2 kB / 0.5949 GB, free: 14.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6984, allocations: 0 / 0.5949 GB, free: 14.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008945/0.6994, allocations: 159.9 kB / 0.5951 GB, free: 14.39 MB / 442.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[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * 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,88.9%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002603/0.6996, allocations: 127.2 kB / 0.5952 GB, free: 14.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.7014, allocations: 0.6296 MB / 0.5958 GB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.7014, allocations: 4 kB / 0.5958 GB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.7025, allocations: 418.1 kB / 0.5962 GB, free: 13.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.7035, allocations: 122.3 kB / 0.5963 GB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.7063, allocations: 1.075 MB / 0.5974 GB, free: 11.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007131/0.707, allocations: 0.9451 MB / 0.5983 GB, free: 10.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.7073, allocations: 39.44 kB / 0.5984 GB, free: 10.93 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7073, allocations: 0 / 0.5984 GB, free: 10.93 MB / 442.7 MB Notification: Performance of Templates: time 0.01962/0.7269, allocations: 8.919 MB / 0.6071 GB, free: 2.012 MB / 442.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)