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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001015/0.001015, allocations: 179.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.316/1.316, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001601/0.001601, allocations: 115.9 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.165/0.165, allocations: 38 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003719, allocations: 12 kB / 403.9 MB, free: 68.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1012, allocations: 53.23 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.37/0.4712, allocations: 105.1 MB / 0.549 GB, free: 6.508 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.4716, allocations: 92.86 kB / 0.5491 GB, free: 6.461 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06589/0.5375, allocations: 23.33 MB / 0.5719 GB, free: 2.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.5375, allocations: 0 / 0.5719 GB, free: 2.391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.566e-05/0.5376, allocations: 19.94 kB / 0.5719 GB, free: 2.371 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.004203/0.5418, allocations: 1.25 MB / 0.5731 GB, free: 1.129 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.472e-05/0.5419, allocations: 12.02 kB / 0.5731 GB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005955/0.5425, allocations: 146.4 kB / 0.5733 GB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.5437, allocations: 154.7 kB / 0.5734 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00407/0.5478, allocations: 1.269 MB / 0.5747 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/0.5481, allocations: 180.8 kB / 0.5748 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/0.5484, allocations: 86.73 kB / 0.5749 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.5509, allocations: 1.363 MB / 0.5762 GB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.5509, allocations: 3.938 kB / 0.5762 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.853e-05/0.551, allocations: 35.06 kB / 0.5763 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.373e-05/0.5511, allocations: 57.69 kB / 0.5763 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.5534, allocations: 1.303 MB / 0.5776 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006845/0.5602, allocations: 4.95 MB / 0.5824 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.5624, allocations: 1.205 MB / 0.5836 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.184e-05/0.5624, allocations: 8.547 kB / 0.5836 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.5625, allocations: 42.38 kB / 0.5837 GB, free: 8.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=74): time 4.458e-06/0.5625, allocations: 0 / 0.5837 GB, free: 8.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.005815/0.5683, allocations: 3.453 MB / 0.587 GB, free: 5.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.5684, allocations: 92.86 kB / 0.5871 GB, free: 5.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.5688, allocations: 407.1 kB / 0.5875 GB, free: 5.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.5689, allocations: 33.58 kB / 0.5875 GB, free: 5.016 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.5692, allocations: 398.6 kB / 0.5879 GB, free: 4.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.5694, allocations: 261.3 kB / 0.5882 GB, free: 4.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.5694, allocations: 14.25 kB / 0.5882 GB, free: 4.477 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5696, allocations: 377.9 kB / 0.5886 GB, free: 4.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008698/0.5705, allocations: 0.5193 MB / 0.5891 GB, free: 3.758 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009961/0.5715, allocations: 0.7055 MB / 0.5897 GB, free: 3.145 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009517/0.5724, allocations: 0.5973 MB / 0.5903 GB, free: 2.734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5724, allocations: 0 / 0.5903 GB, free: 2.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004332/0.5768, allocations: 2.113 MB / 0.5924 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.5768, allocations: 4.562 kB / 0.5924 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003771/0.5806, allocations: 1.857 MB / 0.5942 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.5824, allocations: 0.6963 MB / 0.5949 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.583, allocations: 143.8 kB / 0.595 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.5937, allocations: 7.242 MB / 0.6021 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008334/0.5946, allocations: 88.11 kB / 0.6022 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/0.5947, allocations: 28 kB / 0.6022 GB, free: 6.559 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.0006089/0.5953, allocations: 313.5 kB / 0.6025 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.5955, allocations: 59.25 kB / 0.6026 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.5977, allocations: 1.325 MB / 0.6039 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/0.5978, allocations: 23.98 kB / 0.6039 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5978, allocations: 3.938 kB / 0.6039 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.5978, allocations: 11.98 kB / 0.6039 GB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003919/0.6017, allocations: 2.456 MB / 0.6063 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.6017, allocations: 4 kB / 0.6063 GB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002617/0.6044, allocations: 0.6361 MB / 0.6069 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.254e-05/0.6045, allocations: 20.86 kB / 0.6069 GB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.6045, allocations: 19.98 kB / 0.607 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009489/0.6055, allocations: 1.385 MB / 0.6083 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6055, allocations: 4.031 kB / 0.6083 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/0.6087, allocations: 2.128 MB / 0.6104 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.609, allocations: 132.3 kB / 0.6105 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.6091, allocations: 23.92 kB / 0.6105 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000569/0.6097, allocations: 71.92 kB / 0.6106 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.6099, allocations: 68.41 kB / 0.6107 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.61, allocations: 16 kB / 0.6107 GB, free: 13.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004624/0.6104, allocations: 314.9 kB / 0.611 GB, free: 13.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6104, allocations: 0 / 0.611 GB, free: 13.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001094/0.6115, allocations: 259.9 kB / 0.6112 GB, free: 12.95 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.00388/0.6154, allocations: 3.008 MB / 0.6142 GB, free: 9.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002928/0.6184, allocations: 1.595 MB / 0.6157 GB, free: 8.242 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6184, allocations: 0 / 0.6157 GB, free: 8.242 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002625/0.621, allocations: 1.162 MB / 0.6169 GB, free: 7.066 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008891/0.6219, allocations: 134.4 kB / 0.617 GB, free: 6.938 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.6356, allocations: 10.51 MB / 0.6273 GB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008054/0.6364, allocations: 1.095 MB / 0.6283 GB, free: 11.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006833/0.6371, allocations: 209.5 kB / 0.6285 GB, free: 10.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.6376, allocations: 283.3 kB / 0.6288 GB, free: 10.62 MB / 442.7 MB Notification: Performance of SimCode: time 7.805e-06/0.6376, allocations: 0 / 0.6288 GB, free: 10.62 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/0.6752, allocations: 19 MB / 0.6474 GB, free: 7.598 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.6755, allocations: 208 kB / 0.6476 GB, free: 7.355 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/3.058, allocations: 4 kB / 0.6476 GB, free: 7.352 MB / 458.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)