Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001447, allocations: 185.7 kB / 8.01 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.185/2.185, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.001122/0.001122, allocations: 90.45 kB / 261.8 MB, free: 1.672 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.2658/0.2658, allocations: 38 MB / 347.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.807e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5034/0.6148, allocations: 109.3 MB / 0.562 GB, free: 2.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.6152, allocations: 89.02 kB / 0.5621 GB, free: 2.457 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.102/0.7172, allocations: 23.1 MB / 0.5846 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.669e-06/0.7172, allocations: 4 kB / 0.5846 GB, free: 14.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.603e-05/0.7173, allocations: 23.94 kB / 0.5846 GB, free: 14.91 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.004447/0.7218, allocations: 1.176 MB / 0.5858 GB, free: 13.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.7218, allocations: 8.031 kB / 0.5858 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.7233, allocations: 150.8 kB / 0.5859 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005639/0.729, allocations: 1.244 MB / 0.5872 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003953/0.7294, allocations: 150.2 kB / 0.5873 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/0.7298, allocations: 51.31 kB / 0.5873 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00298/0.7328, allocations: 1.035 MB / 0.5884 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.7357, allocations: 1.168 MB / 0.5895 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.382e-05/0.7358, allocations: 3.938 kB / 0.5895 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.7359, allocations: 4 kB / 0.5895 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/0.7361, allocations: 57.72 kB / 0.5896 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.7478, allocations: 4.781 MB / 0.5942 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.7501, allocations: 0.9369 MB / 0.5951 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.7515, allocations: 0.5463 MB / 0.5957 GB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.3e-05/0.7516, allocations: 16.55 kB / 0.5957 GB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.7517, allocations: 42.64 kB / 0.5957 GB, free: 5.441 MB / 394.7 MB Notification: Performance of pre-optimization done (n=74): time 3.958e-06/0.7517, allocations: 0 / 0.5957 GB, free: 5.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.006316/0.758, allocations: 2.297 MB / 0.598 GB, free: 3.609 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.7581, allocations: 85.7 kB / 0.5981 GB, free: 3.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.7588, allocations: 337.5 kB / 0.5984 GB, free: 3.238 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002289/0.7591, allocations: 25.7 kB / 0.5984 GB, free: 3.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.7595, allocations: 442.6 kB / 0.5988 GB, free: 2.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004639/0.7599, allocations: 256.3 kB / 0.5991 GB, free: 2.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.76, allocations: 3.938 kB / 0.5991 GB, free: 2.613 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.7602, allocations: 348.4 kB / 0.5994 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.7613, allocations: 425.8 kB / 0.5998 GB, free: 2.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.7625, allocations: 0.6109 MB / 0.6004 GB, free: 1.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.7637, allocations: 0.5053 MB / 0.6009 GB, free: 1.156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.7638, allocations: 3.938 kB / 0.6009 GB, free: 1.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.006261/0.77, allocations: 1.781 MB / 0.6026 GB, free: 15.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.7701, allocations: 7.984 kB / 0.6027 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005624/0.7758, allocations: 1.58 MB / 0.6042 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/0.7779, allocations: 0.5312 MB / 0.6047 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.7792, allocations: 147.6 kB / 0.6049 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.7921, allocations: 5.921 MB / 0.6106 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.7934, allocations: 75.97 kB / 0.6107 GB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.7935, allocations: 28 kB / 0.6107 GB, free: 7.73 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 () * 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.0002626/0.7938, allocations: 120.8 kB / 0.6109 GB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.794, allocations: 59.3 kB / 0.6109 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/0.797, allocations: 1.12 MB / 0.612 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.055e-05/0.7971, allocations: 19.98 kB / 0.612 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7971, allocations: 0 / 0.612 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.7972, allocations: 3.984 kB / 0.612 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005833/0.803, allocations: 2.159 MB / 0.6141 GB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.8031, allocations: 4 kB / 0.6141 GB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00572/0.8088, allocations: 0.6322 MB / 0.6148 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/0.809, allocations: 24.86 kB / 0.6148 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.8091, allocations: 15.92 kB / 0.6148 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.8105, allocations: 1.337 MB / 0.6161 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8105, allocations: 0 / 0.6161 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004461/0.815, allocations: 1.843 MB / 0.6179 GB, free: 92 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.8153, allocations: 128.3 kB / 0.618 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.8155, allocations: 11.95 kB / 0.618 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000987/0.8165, allocations: 67.91 kB / 0.6181 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.8168, allocations: 64.41 kB / 0.6182 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-05/0.8169, allocations: 16 kB / 0.6182 GB, free: 15.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004396/0.8173, allocations: 251 kB / 0.6184 GB, free: 15.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8173, allocations: 0 / 0.6184 GB, free: 15.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001453/0.8188, allocations: 227.9 kB / 0.6186 GB, free: 15.32 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 () * 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.0004106/0.8192, allocations: 147.1 kB / 0.6188 GB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003697/0.8229, allocations: 1.381 MB / 0.6201 GB, free: 13.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.823, allocations: 0 / 0.6201 GB, free: 13.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004703/0.8277, allocations: 1.039 MB / 0.6211 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.8288, allocations: 99.12 kB / 0.6212 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00569/0.8345, allocations: 1.946 MB / 0.6231 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.8356, allocations: 1.087 MB / 0.6242 GB, free: 9.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005188/0.8361, allocations: 55.42 kB / 0.6242 GB, free: 9.453 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/0.8362, allocations: 0 / 0.6242 GB, free: 9.453 MB / 426.7 MB Notification: Performance of Templates: time 0.03988/0.876, allocations: 18.83 MB / 0.6426 GB, free: 6.609 MB / 442.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)