Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.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.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001138/0.001138, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.186/1.186, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001592/0.001591, allocations: 106.7 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1575/0.1575, allocations: 37.99 MB / 340.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.000337, allocations: 12 kB / 403.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08238/0.08273, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2958/0.3786, allocations: 105.1 MB / 0.5489 GB, free: 6.566 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.3788, allocations: 97 kB / 0.549 GB, free: 6.516 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06126/0.4401, allocations: 23.33 MB / 0.5718 GB, free: 2.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4401, allocations: 0 / 0.5718 GB, free: 2.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.893e-05/0.4402, allocations: 24 kB / 0.5718 GB, free: 2.434 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002473/0.4426, allocations: 1.238 MB / 0.573 GB, free: 1.203 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4427, allocations: 15.95 kB / 0.573 GB, free: 1.188 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000677/0.4434, allocations: 163 kB / 0.5732 GB, free: 1.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.4464, allocations: 1.258 MB / 0.5744 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.4467, allocations: 172.5 kB / 0.5746 GB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.4468, allocations: 81.38 kB / 0.5747 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.4488, allocations: 1.368 MB / 0.576 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.4488, allocations: 3.938 kB / 0.576 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.549e-05/0.4489, allocations: 35.05 kB / 0.576 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.007e-05/0.449, allocations: 56.72 kB / 0.5761 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.4511, allocations: 1.312 MB / 0.5774 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00634/0.4575, allocations: 4.955 MB / 0.5822 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.4595, allocations: 1.197 MB / 0.5834 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-05/0.4596, allocations: 8.547 kB / 0.5834 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.4596, allocations: 53.28 kB / 0.5834 GB, free: 8.434 MB / 394.7 MB Notification: Performance of pre-optimization done (n=74): time 3.957e-06/0.4596, allocations: 0 / 0.5834 GB, free: 8.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.005259/0.4649, allocations: 3.445 MB / 0.5868 GB, free: 5.652 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.465, allocations: 85.67 kB / 0.5869 GB, free: 5.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.4654, allocations: 413.7 kB / 0.5873 GB, free: 5.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.4655, allocations: 32.39 kB / 0.5873 GB, free: 5.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.4657, allocations: 401.3 kB / 0.5877 GB, free: 4.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.4659, allocations: 262.9 kB / 0.5879 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.4659, allocations: 19.91 kB / 0.588 GB, free: 4.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4661, allocations: 377.4 kB / 0.5883 GB, free: 4.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008426/0.4669, allocations: 0.5139 MB / 0.5888 GB, free: 3.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009539/0.4679, allocations: 0.7053 MB / 0.5895 GB, free: 3.312 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009418/0.4689, allocations: 0.5984 MB / 0.5901 GB, free: 2.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4689, allocations: 0 / 0.5901 GB, free: 2.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004226/0.4731, allocations: 2.109 MB / 0.5921 GB, free: 1.148 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4731, allocations: 11.94 kB / 0.5922 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003731/0.4769, allocations: 1.853 MB / 0.594 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/0.4786, allocations: 0.6963 MB / 0.5946 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/0.4792, allocations: 143.8 kB / 0.5948 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.4898, allocations: 7.247 MB / 0.6019 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007267/0.4906, allocations: 79.92 kB / 0.6019 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.962e-05/0.4907, allocations: 39.92 kB / 0.602 GB, free: 6.785 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005262/0.4912, allocations: 313.6 kB / 0.6023 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.4913, allocations: 59.25 kB / 0.6023 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.4936, allocations: 1.325 MB / 0.6036 GB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.4936, allocations: 23.98 kB / 0.6036 GB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.4936, allocations: 0 / 0.6036 GB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.4936, allocations: 3.984 kB / 0.6037 GB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/0.4976, allocations: 2.46 MB / 0.6061 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4976, allocations: 4 kB / 0.6061 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002611/0.5002, allocations: 0.6361 MB / 0.6067 GB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.966e-05/0.5003, allocations: 20.86 kB / 0.6067 GB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.5004, allocations: 23.97 kB / 0.6067 GB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009359/0.5013, allocations: 1.388 MB / 0.6081 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.5014, allocations: 7.969 kB / 0.6081 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003284/0.5046, allocations: 2.124 MB / 0.6102 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.5049, allocations: 128.4 kB / 0.6103 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-05/0.505, allocations: 19.98 kB / 0.6103 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/0.5055, allocations: 75.91 kB / 0.6104 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.5057, allocations: 68.42 kB / 0.6104 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.266e-05/0.5058, allocations: 16 kB / 0.6105 GB, free: 13.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004007/0.5062, allocations: 318.8 kB / 0.6108 GB, free: 13.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5062, allocations: 4 kB / 0.6108 GB, free: 13.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009793/0.5072, allocations: 247.9 kB / 0.611 GB, free: 13.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (66): * Single equations (assignments): 62 * Array equations: 2 * 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.0002976/0.5075, allocations: 165.6 kB / 0.6112 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002787/0.5103, allocations: 1.602 MB / 0.6127 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5103, allocations: 0 / 0.6127 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002635/0.5129, allocations: 1.154 MB / 0.6138 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007439/0.5137, allocations: 138.2 kB / 0.614 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.5175, allocations: 2.73 MB / 0.6166 GB, free: 7.316 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/0.5182, allocations: 1.083 MB / 0.6177 GB, free: 6.207 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005588/0.5188, allocations: 213.5 kB / 0.6179 GB, free: 5.996 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.519, allocations: 51.42 kB / 0.618 GB, free: 5.945 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.519, allocations: 3.938 kB / 0.618 GB, free: 5.941 MB / 426.7 MB Notification: Performance of Templates: time 0.01788/0.5369, allocations: 12.15 MB / 0.6298 GB, free: 9.781 MB / 442.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)