Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009895/0.0009894, allocations: 179 kB / 16.38 MB, free: 5.762 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.22/1.22, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.00158/0.00158, allocations: 127 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1574/0.1574, allocations: 38 MB / 340.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08229/0.08267, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2957/0.3785, allocations: 104.8 MB / 0.5486 GB, free: 6.926 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.3787, allocations: 97.33 kB / 0.5487 GB, free: 6.875 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0667/0.4454, allocations: 24.42 MB / 0.5726 GB, free: 1.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4455, allocations: 0 / 0.5726 GB, free: 1.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.678e-05/0.4455, allocations: 23.92 kB / 0.5726 GB, free: 1.781 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.00272/0.4483, allocations: 1.268 MB / 0.5738 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4483, allocations: 16.02 kB / 0.5738 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006849/0.449, allocations: 139.1 kB / 0.574 GB, free: 376 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/0.4523, allocations: 1.268 MB / 0.5752 GB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.4526, allocations: 185.9 kB / 0.5754 GB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.4527, allocations: 78.86 kB / 0.5755 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.4548, allocations: 1.409 MB / 0.5768 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.4549, allocations: 0 / 0.5768 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.461e-05/0.455, allocations: 35.55 kB / 0.5769 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.4551, allocations: 76.58 kB / 0.5769 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.4575, allocations: 1.532 MB / 0.5784 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006418/0.4639, allocations: 4.433 MB / 0.5828 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.4661, allocations: 1.319 MB / 0.584 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.896e-05/0.4662, allocations: 20.69 kB / 0.5841 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.4662, allocations: 49.47 kB / 0.5841 GB, free: 8.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=103): time 2.795e-06/0.4662, allocations: 4 kB / 0.5841 GB, free: 8.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=104): time 0.006283/0.4725, allocations: 4.252 MB / 0.5883 GB, free: 4.711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.4726, allocations: 85.77 kB / 0.5884 GB, free: 4.609 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.473, allocations: 361.6 kB / 0.5887 GB, free: 4.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/0.4731, allocations: 39.95 kB / 0.5887 GB, free: 4.285 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.4733, allocations: 339.2 kB / 0.5891 GB, free: 4.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.4735, allocations: 362.5 kB / 0.5894 GB, free: 3.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.4736, allocations: 18.06 kB / 0.5894 GB, free: 3.707 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4738, allocations: 386.3 kB / 0.5898 GB, free: 3.348 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009753/0.4747, allocations: 0.6047 MB / 0.5904 GB, free: 2.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.4759, allocations: 0.7606 MB / 0.5911 GB, free: 2.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.477, allocations: 0.6939 MB / 0.5918 GB, free: 1.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.477, allocations: 4 kB / 0.5918 GB, free: 1.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002612/0.4797, allocations: 1.623 MB / 0.5934 GB, free: 15.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4797, allocations: 4 kB / 0.5934 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4797, allocations: 4 kB / 0.5934 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/0.4798, allocations: 32.83 kB / 0.5934 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/0.4823, allocations: 0.6167 MB / 0.594 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006172/0.4885, allocations: 6.388 MB / 0.6003 GB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007993/0.4893, allocations: 100 kB / 0.6004 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.267e-05/0.4894, allocations: 31.98 kB / 0.6004 GB, free: 8.18 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 96 * 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: 1 * 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: 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.0006075/0.49, allocations: 325.4 kB / 0.6007 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.4902, allocations: 63.23 kB / 0.6008 GB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/0.4931, allocations: 1.608 MB / 0.6023 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.464e-05/0.4932, allocations: 27.98 kB / 0.6024 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4932, allocations: 0 / 0.6024 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4932, allocations: 3.984 kB / 0.6024 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/0.4979, allocations: 2.935 MB / 0.6052 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4979, allocations: 0 / 0.6052 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002875/0.5008, allocations: 0.683 MB / 0.6059 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.193e-05/0.5009, allocations: 24.86 kB / 0.6059 GB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.232e-05/0.501, allocations: 19.98 kB / 0.6059 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009906/0.502, allocations: 1.389 MB / 0.6073 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.502, allocations: 4 kB / 0.6073 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003897/0.5059, allocations: 2.688 MB / 0.6099 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.5061, allocations: 136.2 kB / 0.6101 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.5062, allocations: 27.94 kB / 0.6101 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/0.5068, allocations: 87.91 kB / 0.6102 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.507, allocations: 72.53 kB / 0.6102 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-05/0.5071, allocations: 24 kB / 0.6103 GB, free: 13.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003104/0.5074, allocations: 275.1 kB / 0.6105 GB, free: 13.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5074, allocations: 0 / 0.6105 GB, free: 13.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009205/0.5084, allocations: 259.9 kB / 0.6108 GB, free: 13.14 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 79 * 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: 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.0003318/0.5087, allocations: 179 kB / 0.6109 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003811/0.5125, allocations: 1.943 MB / 0.6128 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5125, allocations: 0 / 0.6128 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002789/0.5153, allocations: 1.339 MB / 0.6141 GB, free: 9.645 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.516, allocations: 141.4 kB / 0.6143 GB, free: 9.508 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/0.5207, allocations: 3.042 MB / 0.6173 GB, free: 6.418 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/0.5214, allocations: 1.096 MB / 0.6183 GB, free: 5.293 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007268/0.5222, allocations: 261.5 kB / 0.6186 GB, free: 5.035 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.5224, allocations: 51.44 kB / 0.6186 GB, free: 4.984 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5224, allocations: 4 kB / 0.6186 GB, free: 4.98 MB / 426.7 MB Notification: Performance of Templates: time 0.01569/0.5381, allocations: 9.764 MB / 0.6282 GB, free: 11.22 MB / 442.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)