Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003203/0.003203, allocations: 173.5 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.423/2.423, allocations: 205.4 MB / 222.9 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007531/0.0007532, allocations: 86.36 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1929/0.1929, allocations: 38.08 MB / 357.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3905, allocations: 56.32 MB / 480.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.5518, allocations: 110.1 MB / 0.5765 GB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/0.5522, allocations: 99.94 kB / 0.5766 GB, free: 8.168 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06537/0.6176, allocations: 23.31 MB / 0.5994 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6177, allocations: 0 / 0.5994 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.625e-05/0.6177, allocations: 19.94 kB / 0.5994 GB, free: 0.6133 MB / 426.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.002819/0.6205, allocations: 1.244 MB / 0.6006 GB, free: 15.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.6206, allocations: 8.031 kB / 0.6006 GB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007808/0.6214, allocations: 151.7 kB / 0.6007 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.6235, allocations: 0.9244 MB / 0.6016 GB, free: 14.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/0.6238, allocations: 180.2 kB / 0.6018 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.6239, allocations: 87.91 kB / 0.6019 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.6263, allocations: 1.372 MB / 0.6032 GB, free: 12.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.6264, allocations: 7.984 kB / 0.6032 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.827e-05/0.6265, allocations: 32 kB / 0.6033 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.737e-05/0.6266, allocations: 61.97 kB / 0.6033 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.629, allocations: 1.3 MB / 0.6046 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007569/0.6366, allocations: 4.95 MB / 0.6094 GB, free: 5.961 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.6389, allocations: 1.208 MB / 0.6106 GB, free: 4.715 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.6401, allocations: 0.6516 MB / 0.6113 GB, free: 4.059 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.097e-05/0.6402, allocations: 12.55 kB / 0.6113 GB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.6402, allocations: 39.12 kB / 0.6113 GB, free: 3.996 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 4.078e-06/0.6402, allocations: 0 / 0.6113 GB, free: 3.996 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.006298/0.6465, allocations: 3.296 MB / 0.6145 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/0.6466, allocations: 85.67 kB / 0.6146 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/0.6472, allocations: 465.8 kB / 0.615 GB, free: 40 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.6473, allocations: 33.7 kB / 0.6151 GB, free: 0 / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.6476, allocations: 395.3 kB / 0.6155 GB, free: 15.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.6479, allocations: 264.2 kB / 0.6157 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.6479, allocations: 16.03 kB / 0.6157 GB, free: 15.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.6481, allocations: 378.8 kB / 0.6161 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009479/0.6491, allocations: 0.5172 MB / 0.6166 GB, free: 14.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.6501, allocations: 0.7183 MB / 0.6173 GB, free: 13.63 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.6523, allocations: 1.268 MB / 0.6185 GB, free: 12.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6523, allocations: 0 / 0.6185 GB, free: 12.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004536/0.6568, allocations: 2.128 MB / 0.6206 GB, free: 10.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.6569, allocations: 8 kB / 0.6206 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003993/0.6609, allocations: 1.861 MB / 0.6224 GB, free: 8.234 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/0.6627, allocations: 0.6846 MB / 0.6231 GB, free: 7.543 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.6634, allocations: 147.8 kB / 0.6232 GB, free: 7.398 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/0.6745, allocations: 6.989 MB / 0.6301 GB, free: 148 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008392/0.6753, allocations: 87.94 kB / 0.6302 GB, free: 60 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/0.6754, allocations: 28 kB / 0.6302 GB, free: 32 kB / 458.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.0006574/0.6761, allocations: 305.5 kB / 0.6305 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.6763, allocations: 71.17 kB / 0.6305 GB, free: 15.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.6788, allocations: 1.325 MB / 0.6318 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-05/0.6789, allocations: 27.92 kB / 0.6319 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6789, allocations: 0 / 0.6319 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.6789, allocations: 0 / 0.6319 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/0.6832, allocations: 2.472 MB / 0.6343 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.6832, allocations: 0 / 0.6343 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/0.6859, allocations: 0.64 MB / 0.6349 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.686, allocations: 28.84 kB / 0.6349 GB, free: 11.03 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.287e-05/0.6861, allocations: 27.97 kB / 0.635 GB, free: 11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.6872, allocations: 1.392 MB / 0.6363 GB, free: 9.477 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6873, allocations: 0 / 0.6363 GB, free: 9.477 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003535/0.6908, allocations: 2.082 MB / 0.6383 GB, free: 7.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.6911, allocations: 136.3 kB / 0.6385 GB, free: 7.188 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.6912, allocations: 16 kB / 0.6385 GB, free: 7.172 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/0.6917, allocations: 79.84 kB / 0.6386 GB, free: 7.094 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.6919, allocations: 64.41 kB / 0.6386 GB, free: 7.031 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.692, allocations: 23.97 kB / 0.6387 GB, free: 7.008 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004174/0.6924, allocations: 318.8 kB / 0.639 GB, free: 6.699 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6924, allocations: 4 kB / 0.639 GB, free: 6.695 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001248/0.6937, allocations: 244 kB / 0.6392 GB, free: 6.457 MB / 474.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.0003745/0.6941, allocations: 170.5 kB / 0.6394 GB, free: 6.285 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003061/0.6971, allocations: 1.603 MB / 0.6409 GB, free: 4.656 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.6972, allocations: 4 kB / 0.6409 GB, free: 4.652 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002679/0.6999, allocations: 1.138 MB / 0.642 GB, free: 3.504 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.7009, allocations: 144.9 kB / 0.6422 GB, free: 3.363 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.7053, allocations: 2.8 MB / 0.6449 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2163/0.9216, allocations: 1.065 MB / 0.6459 GB, free: 137.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/0.9222, allocations: 58.83 kB / 0.646 GB, free: 137.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.533e-06/0.9222, allocations: 0 / 0.646 GB, free: 137.7 MB / 474.7 MB Notification: Performance of Templates: time 0.03789/0.9601, allocations: 20.17 MB / 0.6657 GB, free: 136.7 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)