Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 185.7 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.231/2.231, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001406/0.001405, allocations: 90.64 kB / 261.8 MB, free: 1.68 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.3283/0.3283, allocations: 38 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.664e-05/1.659e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5116/0.621, allocations: 109 MB / 0.5617 GB, free: 2.852 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.6214, allocations: 90.44 kB / 0.5618 GB, free: 2.805 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1085/0.7299, allocations: 24.19 MB / 0.5854 GB, free: 14.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.73, allocations: 0 / 0.5854 GB, free: 14.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.077e-05/0.73, allocations: 20 kB / 0.5854 GB, free: 14.26 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.004749/0.7348, allocations: 1.202 MB / 0.5866 GB, free: 13.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.7349, allocations: 12.03 kB / 0.5866 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.7364, allocations: 138.8 kB / 0.5867 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005782/0.7423, allocations: 1.24 MB / 0.588 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004502/0.7428, allocations: 150.9 kB / 0.5881 GB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004783/0.7433, allocations: 59.78 kB / 0.5882 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003485/0.7468, allocations: 1.166 MB / 0.5893 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/0.7504, allocations: 1.216 MB / 0.5905 GB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-05/0.7505, allocations: 3.984 kB / 0.5905 GB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.7506, allocations: 7.938 kB / 0.5905 GB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002883/0.7509, allocations: 72.53 kB / 0.5906 GB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/0.7649, allocations: 4.341 MB / 0.5948 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.7681, allocations: 1.149 MB / 0.5959 GB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/0.77, allocations: 0.6915 MB / 0.5966 GB, free: 5.031 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.7701, allocations: 8.781 kB / 0.5966 GB, free: 5.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.7702, allocations: 50.84 kB / 0.5967 GB, free: 4.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=103): time 5.811e-06/0.7702, allocations: 0 / 0.5967 GB, free: 4.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=104): time 0.0106/0.7808, allocations: 3.17 MB / 0.5998 GB, free: 2.473 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.7809, allocations: 85.89 kB / 0.5998 GB, free: 2.371 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005229/0.7815, allocations: 284.8 kB / 0.6001 GB, free: 2.137 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002673/0.7817, allocations: 25.7 kB / 0.6001 GB, free: 2.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.7821, allocations: 393.1 kB / 0.6005 GB, free: 1.777 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006057/0.7827, allocations: 344.8 kB / 0.6008 GB, free: 1.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.7828, allocations: 0 / 0.6008 GB, free: 1.477 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.783, allocations: 348.7 kB / 0.6012 GB, free: 1.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.7843, allocations: 0.5319 MB / 0.6017 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.7859, allocations: 0.6848 MB / 0.6024 GB, free: 280 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002618/0.7885, allocations: 0.7491 MB / 0.6031 GB, free: 15.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.7886, allocations: 4 kB / 0.6031 GB, free: 15.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00479/0.7934, allocations: 1.444 MB / 0.6045 GB, free: 14.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.7935, allocations: 11.94 kB / 0.6045 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.7935, allocations: 0 / 0.6045 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.598e-05/0.7935, allocations: 15.95 kB / 0.6045 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005562/0.7991, allocations: 0.6247 MB / 0.6051 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006311/0.8055, allocations: 4.38 MB / 0.6094 GB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.807, allocations: 83.89 kB / 0.6095 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.8072, allocations: 28 kB / 0.6095 GB, free: 8.992 MB / 410.7 MB 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 (105): * Single equations (assignments): 98 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003303/0.8076, allocations: 120.9 kB / 0.6096 GB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/0.8078, allocations: 59.25 kB / 0.6097 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00473/0.8126, allocations: 1.457 MB / 0.6111 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001886/0.8128, allocations: 43.91 kB / 0.6112 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8128, allocations: 0 / 0.6112 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.8129, allocations: 3.984 kB / 0.6112 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009033/0.8219, allocations: 2.714 MB / 0.6138 GB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.822, allocations: 0 / 0.6138 GB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006311/0.8283, allocations: 0.6831 MB / 0.6145 GB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.511e-05/0.8284, allocations: 8 kB / 0.6145 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/0.8286, allocations: 11.98 kB / 0.6145 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.8286, allocations: 4 kB / 0.6145 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/0.8286, allocations: 4 kB / 0.6145 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006602/0.8353, allocations: 2.486 MB / 0.6169 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.8356, allocations: 132.3 kB / 0.6171 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/0.8359, allocations: 8 kB / 0.6171 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.8371, allocations: 75.89 kB / 0.6171 GB, free: 1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/0.8375, allocations: 80.56 kB / 0.6172 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.8376, allocations: 23.98 kB / 0.6172 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003843/0.838, allocations: 216.6 kB / 0.6175 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.838, allocations: 3.938 kB / 0.6175 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001358/0.8394, allocations: 227.9 kB / 0.6177 GB, free: 472 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005135/0.8399, allocations: 167 kB / 0.6178 GB, free: 292 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006519/0.8465, allocations: 1.658 MB / 0.6194 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.8465, allocations: 0 / 0.6194 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005248/0.8518, allocations: 1.124 MB / 0.6205 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.8531, allocations: 89.34 kB / 0.6206 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007762/0.8609, allocations: 2.267 MB / 0.6228 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.862, allocations: 1.095 MB / 0.6239 GB, free: 9.965 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008432/0.8629, allocations: 63.42 kB / 0.624 GB, free: 9.902 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.8629, allocations: 0 / 0.624 GB, free: 9.902 MB / 426.7 MB Notification: Performance of Templates: time 0.04315/0.9061, allocations: 19.74 MB / 0.6433 GB, free: 6.117 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)