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.001551/0.00155, allocations: 183.8 kB / 15.76 MB, free: 6.359 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.997/1.997, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001169/0.001169, allocations: 94.78 kB / 270.2 MB, free: 13.37 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.3032/0.3032, allocations: 38.07 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004498, allocations: 16 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 56.32 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5098/0.6256, allocations: 111.1 MB / 0.5763 GB, free: 4.973 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003818/0.626, allocations: 97.31 kB / 0.5764 GB, free: 4.922 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09946/0.7255, allocations: 21.85 MB / 0.5978 GB, free: 2.145 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.7256, allocations: 0 / 0.5978 GB, free: 2.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.218e-05/0.7256, allocations: 20 kB / 0.5978 GB, free: 2.125 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.003378/0.729, allocations: 1.021 MB / 0.5988 GB, free: 1.105 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.7291, allocations: 8.031 kB / 0.5988 GB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.7304, allocations: 130.9 kB / 0.5989 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004816/0.7352, allocations: 1.146 MB / 0.6 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/0.7353, allocations: 52.88 kB / 0.6001 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/0.7355, allocations: 78.5 kB / 0.6002 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.738, allocations: 1.001 MB / 0.6011 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.7381, allocations: 0 / 0.6011 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.7382, allocations: 29.61 kB / 0.6012 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002516/0.7385, allocations: 64.39 kB / 0.6012 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.7409, allocations: 0.9406 MB / 0.6021 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008135/0.7491, allocations: 3.203 MB / 0.6053 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.7511, allocations: 0.7118 MB / 0.606 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-05/0.7513, allocations: 13 kB / 0.606 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.7513, allocations: 38.5 kB / 0.606 GB, free: 11.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=77): time 3.697e-06/0.7513, allocations: 0 / 0.606 GB, free: 11.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=79): time 0.008331/0.7597, allocations: 2.77 MB / 0.6087 GB, free: 8.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.7598, allocations: 89.61 kB / 0.6088 GB, free: 8.664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008869/0.7607, allocations: 381.2 kB / 0.6092 GB, free: 8.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.7609, allocations: 37.56 kB / 0.6092 GB, free: 8.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.7613, allocations: 383.3 kB / 0.6096 GB, free: 8.012 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004264/0.7617, allocations: 286.3 kB / 0.6098 GB, free: 7.766 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.7618, allocations: 15.78 kB / 0.6099 GB, free: 7.762 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.7621, allocations: 342.2 kB / 0.6102 GB, free: 7.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.7633, allocations: 360.4 kB / 0.6105 GB, free: 7.191 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.7649, allocations: 0.5109 MB / 0.611 GB, free: 6.75 MB / 410.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.02305/0.788, allocations: 2.706 MB / 0.6137 GB, free: 4.324 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.788, allocations: 4 kB / 0.6137 GB, free: 4.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00368/0.7917, allocations: 1.085 MB / 0.6147 GB, free: 3.488 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.7918, allocations: 6.812 kB / 0.6147 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/0.7918, allocations: 8 kB / 0.6147 GB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.792, allocations: 28.59 kB / 0.6148 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/0.7942, allocations: 202.7 kB / 0.615 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.796, allocations: 1.347 MB / 0.6163 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.7973, allocations: 42.45 kB / 0.6163 GB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.7975, allocations: 31.44 kB / 0.6164 GB, free: 1.785 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 90 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008673/0.7983, allocations: 272 kB / 0.6166 GB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.7986, allocations: 63 kB / 0.6167 GB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/0.8023, allocations: 1.014 MB / 0.6177 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.039e-05/0.8024, allocations: 22.81 kB / 0.6177 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.8024, allocations: 0 / 0.6177 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.8025, allocations: 11.92 kB / 0.6177 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007473/0.81, allocations: 2.058 MB / 0.6197 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.81, allocations: 4 kB / 0.6197 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/0.812, allocations: 167.7 kB / 0.6199 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001835/0.8123, allocations: 32.28 kB / 0.6199 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.8124, allocations: 22.06 kB / 0.6199 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.8142, allocations: 1.34 MB / 0.6212 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/0.8143, allocations: 7.938 kB / 0.6212 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005015/0.8193, allocations: 1.823 MB / 0.623 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.8197, allocations: 135.1 kB / 0.6231 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.8199, allocations: 25.98 kB / 0.6232 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009369/0.8209, allocations: 37.83 kB / 0.6232 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.8211, allocations: 65.89 kB / 0.6233 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.8213, allocations: 24 kB / 0.6233 GB, free: 11.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007329/0.822, allocations: 287.1 kB / 0.6236 GB, free: 11.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.822, allocations: 3.938 kB / 0.6236 GB, free: 11.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001565/0.8236, allocations: 203.9 kB / 0.6238 GB, free: 10.98 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 72 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004934/0.8241, allocations: 170.9 kB / 0.6239 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003305/0.8274, allocations: 0.9816 MB / 0.6249 GB, free: 9.805 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.8275, allocations: 0 / 0.6249 GB, free: 9.805 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.8292, allocations: 0.5424 MB / 0.6254 GB, free: 9.254 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.8308, allocations: 129.9 kB / 0.6255 GB, free: 9.125 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007146/0.8379, allocations: 2.461 MB / 0.6279 GB, free: 6.574 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.8393, allocations: 1.033 MB / 0.629 GB, free: 5.512 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006555/0.8399, allocations: 63.42 kB / 0.629 GB, free: 5.449 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/0.84, allocations: 0 / 0.629 GB, free: 5.449 MB / 426.7 MB Notification: Performance of Templates: time 0.02898/0.8689, allocations: 11.84 MB / 0.6406 GB, free: 9.609 MB / 442.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)