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.001504/0.001504, allocations: 184.9 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.2 MB / 218.9 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 91.98 kB / 267.1 MB, free: 9.273 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.2649/0.2649, allocations: 37.98 MB / 353.1 MB, free: 3.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.056e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 56.32 MB / 473.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4874/0.5936, allocations: 109.9 MB / 0.5694 GB, free: 9.758 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/0.594, allocations: 87.95 kB / 0.5695 GB, free: 9.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1416/0.7356, allocations: 23.29 MB / 0.5922 GB, free: 2.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.7357, allocations: 0 / 0.5922 GB, free: 2.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001096/0.7358, allocations: 16 kB / 0.5923 GB, free: 2.145 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.006249/0.7421, allocations: 1.186 MB / 0.5934 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.132e-05/0.7422, allocations: 8.031 kB / 0.5934 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.7442, allocations: 146.8 kB / 0.5936 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007468/0.7518, allocations: 1.246 MB / 0.5948 GB, free: 15.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005506/0.7524, allocations: 175.1 kB / 0.5949 GB, free: 15.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005313/0.7529, allocations: 87.98 kB / 0.595 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004869/0.7578, allocations: 1.271 MB / 0.5963 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.547e-05/0.7579, allocations: 3.938 kB / 0.5963 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.7582, allocations: 35.98 kB / 0.5963 GB, free: 13.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/0.7584, allocations: 57.98 kB / 0.5964 GB, free: 13.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005076/0.7635, allocations: 1.136 MB / 0.5975 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01835/0.7819, allocations: 4.95 MB / 0.6023 GB, free: 7.512 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003676/0.7857, allocations: 0.9666 MB / 0.6033 GB, free: 6.512 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/0.7879, allocations: 0.5669 MB / 0.6038 GB, free: 5.938 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.7882, allocations: 16.48 kB / 0.6038 GB, free: 5.922 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.459e-05/0.7882, allocations: 47.48 kB / 0.6039 GB, free: 5.863 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 6.773e-06/0.7883, allocations: 4 kB / 0.6039 GB, free: 5.859 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.01033/0.7986, allocations: 2.378 MB / 0.6062 GB, free: 3.406 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/0.7987, allocations: 81.67 kB / 0.6063 GB, free: 3.309 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009963/0.7998, allocations: 407.7 kB / 0.6067 GB, free: 2.906 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002703/0.8001, allocations: 37.73 kB / 0.6067 GB, free: 2.863 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/0.8005, allocations: 433.8 kB / 0.6071 GB, free: 2.434 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005704/0.8011, allocations: 264.2 kB / 0.6074 GB, free: 2.172 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.8012, allocations: 12 kB / 0.6074 GB, free: 2.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002437/0.8015, allocations: 350.8 kB / 0.6077 GB, free: 1.809 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.8031, allocations: 445.6 kB / 0.6081 GB, free: 1.375 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.8052, allocations: 0.6281 MB / 0.6087 GB, free: 0.668 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.8072, allocations: 0.5133 MB / 0.6092 GB, free: 160 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.8073, allocations: 3.953 kB / 0.6092 GB, free: 156 kB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.009065/0.8164, allocations: 1.848 MB / 0.6111 GB, free: 14.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.8165, allocations: 8 kB / 0.6111 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007701/0.8242, allocations: 1.624 MB / 0.6126 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002859/0.8271, allocations: 0.5325 MB / 0.6132 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.8286, allocations: 147.8 kB / 0.6133 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02044/0.8491, allocations: 6.217 MB / 0.6194 GB, free: 5.441 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.851, allocations: 95.92 kB / 0.6195 GB, free: 5.348 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.8513, allocations: 28 kB / 0.6195 GB, free: 5.32 MB / 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 () * 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.0003966/0.8517, allocations: 152.7 kB / 0.6196 GB, free: 5.164 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/0.852, allocations: 63.25 kB / 0.6197 GB, free: 5.102 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.8565, allocations: 1.163 MB / 0.6208 GB, free: 3.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.406e-05/0.8567, allocations: 12 kB / 0.6209 GB, free: 3.898 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.8567, allocations: 7.953 kB / 0.6209 GB, free: 3.891 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.366e-05/0.8567, allocations: 3.984 kB / 0.6209 GB, free: 3.887 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009149/0.8659, allocations: 2.326 MB / 0.6231 GB, free: 1.469 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.866, allocations: 7.938 kB / 0.6231 GB, free: 1.461 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008043/0.874, allocations: 0.6361 MB / 0.6238 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/0.8743, allocations: 24.86 kB / 0.6238 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/0.8745, allocations: 15.98 kB / 0.6238 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.8763, allocations: 1.389 MB / 0.6252 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/0.8764, allocations: 7.984 kB / 0.6252 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00647/0.8829, allocations: 1.888 MB / 0.627 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.8833, allocations: 128.4 kB / 0.6271 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/0.8836, allocations: 16 kB / 0.6271 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.8851, allocations: 75.91 kB / 0.6272 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004017/0.8855, allocations: 72.34 kB / 0.6273 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.8857, allocations: 20 kB / 0.6273 GB, free: 12.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008299/0.8865, allocations: 309.6 kB / 0.6276 GB, free: 12.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.8866, allocations: 4 kB / 0.6276 GB, free: 12.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002305/0.8889, allocations: 256 kB / 0.6279 GB, free: 12.41 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 () * 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.0005787/0.8895, allocations: 155 kB / 0.628 GB, free: 12.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005633/0.8952, allocations: 1.439 MB / 0.6294 GB, free: 10.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.8952, allocations: 4 kB / 0.6294 GB, free: 10.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006762/0.902, allocations: 1.053 MB / 0.6304 GB, free: 9.711 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.9039, allocations: 142.1 kB / 0.6306 GB, free: 9.574 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008316/0.9123, allocations: 2.001 MB / 0.6325 GB, free: 7.527 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.9137, allocations: 1.087 MB / 0.6336 GB, free: 6.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007287/0.9145, allocations: 55.44 kB / 0.6336 GB, free: 6.355 MB / 474.7 MB Notification: Performance of SimCode: time 1.422e-06/0.9145, allocations: 0 / 0.6336 GB, free: 6.355 MB / 474.7 MB Notification: Performance of Templates: time 0.3572/1.272, allocations: 19.41 MB / 0.6526 GB, free: 132.1 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)