Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.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.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_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.001042/0.001042, allocations: 184.3 kB / 13.65 MB, free: 1.668 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.764/1.764, allocations: 194.2 MB / 208.4 MB, free: 6.676 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.001679/0.00168, allocations: 112.7 kB / 253.5 MB, free: 9.539 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2138/0.2138, allocations: 37.91 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.797e-05/4.808e-05, allocations: 4 kB / 397.6 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3336, allocations: 53.21 MB / 450.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5488/0.8824, allocations: 104.7 MB / 0.5425 GB, free: 29.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/0.8828, allocations: 92.28 kB / 0.5426 GB, free: 29.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06585/0.9487, allocations: 24.41 MB / 0.5664 GB, free: 24.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.9488, allocations: 0 / 0.5664 GB, free: 24.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.354e-05/0.9489, allocations: 23.59 kB / 0.5665 GB, free: 24.77 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003749/0.9526, allocations: 1.192 MB / 0.5676 GB, free: 23.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.9527, allocations: 7.781 kB / 0.5676 GB, free: 23.99 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005911/0.9533, allocations: 144.4 kB / 0.5678 GB, free: 23.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.9544, allocations: 148.8 kB / 0.5679 GB, free: 23.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003837/0.9583, allocations: 1.247 MB / 0.5691 GB, free: 23.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/0.9586, allocations: 177.3 kB / 0.5693 GB, free: 23.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003119/0.9589, allocations: 87.89 kB / 0.5694 GB, free: 23.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.9613, allocations: 1.316 MB / 0.5707 GB, free: 22.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/0.9614, allocations: 11.64 kB / 0.5707 GB, free: 22.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.9615, allocations: 40.69 kB / 0.5707 GB, free: 22.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/0.9616, allocations: 70.72 kB / 0.5708 GB, free: 22.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.9638, allocations: 1.355 MB / 0.5721 GB, free: 22.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007047/0.9709, allocations: 4.432 MB / 0.5764 GB, free: 20.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.9727, allocations: 1.167 MB / 0.5776 GB, free: 20.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009315/0.9737, allocations: 0.6874 MB / 0.5783 GB, free: 20.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.107e-05/0.9738, allocations: 12.31 kB / 0.5783 GB, free: 20.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.9738, allocations: 42.56 kB / 0.5783 GB, free: 20.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 5.53e-06/0.9738, allocations: 0 / 0.5783 GB, free: 20.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.004683/0.9785, allocations: 2.792 MB / 0.581 GB, free: 19.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.9786, allocations: 92.83 kB / 0.5811 GB, free: 19.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.9791, allocations: 348.5 kB / 0.5815 GB, free: 19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.82e-05/0.9792, allocations: 43.64 kB / 0.5815 GB, free: 18.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.9795, allocations: 339.3 kB / 0.5818 GB, free: 18.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003413/0.9798, allocations: 355.7 kB / 0.5822 GB, free: 18.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.9799, allocations: 21.75 kB / 0.5822 GB, free: 18.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.98, allocations: 382.2 kB / 0.5825 GB, free: 18.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007711/0.9808, allocations: 0.5267 MB / 0.5831 GB, free: 18.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008293/0.9817, allocations: 0.6783 MB / 0.5837 GB, free: 17.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009145/0.9826, allocations: 0.611 MB / 0.5843 GB, free: 17.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.9826, allocations: 0 / 0.5843 GB, free: 17.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001924/0.9845, allocations: 1.349 MB / 0.5856 GB, free: 17.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.9846, allocations: 7.75 kB / 0.5856 GB, free: 17.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.9846, allocations: 3.875 kB / 0.5856 GB, free: 17.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.9846, allocations: 7.844 kB / 0.5857 GB, free: 17.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/0.9873, allocations: 0.6269 MB / 0.5863 GB, free: 17.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/0.9906, allocations: 4.56 MB / 0.5907 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008339/0.9915, allocations: 95.58 kB / 0.5908 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.9917, allocations: 34.42 kB / 0.5908 GB, free: 13.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (105): * Single equations (assignments): 98 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002369/0.9919, allocations: 153.4 kB / 0.591 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.9921, allocations: 66.09 kB / 0.5911 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.9944, allocations: 1.34 MB / 0.5924 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.753e-05/0.9944, allocations: 26.98 kB / 0.5924 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9945, allocations: 0 / 0.5924 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.9945, allocations: 3.984 kB / 0.5924 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/0.9992, allocations: 2.674 MB / 0.595 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.9993, allocations: 0 / 0.595 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003008/1.002, allocations: 0.6895 MB / 0.5957 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.495e-05/1.002, allocations: 11.28 kB / 0.5957 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/1.003, allocations: 26.8 kB / 0.5957 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/1.003, allocations: 3.656 kB / 0.5957 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/1.003, allocations: 7.734 kB / 0.5957 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003583/1.006, allocations: 2.332 MB / 0.598 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/1.006, allocations: 132.5 kB / 0.5981 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/1.007, allocations: 19.66 kB / 0.5981 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006944/1.007, allocations: 91.11 kB / 0.5982 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/1.008, allocations: 74.97 kB / 0.5983 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.087e-05/1.008, allocations: 26.16 kB / 0.5983 GB, free: 10.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003786/1.008, allocations: 270.8 kB / 0.5986 GB, free: 10.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.008, allocations: 0 / 0.5986 GB, free: 10.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001071/1.009, allocations: 257.5 kB / 0.5988 GB, free: 10.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (86): * Single equations (assignments): 81 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003565/1.013, allocations: 3.501 MB / 0.6023 GB, free: 8.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003365/1.016, allocations: 1.651 MB / 0.6039 GB, free: 7.367 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.016, allocations: 0 / 0.6039 GB, free: 7.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002483/1.019, allocations: 1.145 MB / 0.605 GB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008634/1.019, allocations: 136.1 kB / 0.6051 GB, free: 6.102 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/1.025, allocations: 2.493 MB / 0.6075 GB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006018/1.025, allocations: 1.095 MB / 0.6086 GB, free: 2.426 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008512/1.026, allocations: 265.5 kB / 0.6089 GB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004948/1.027, allocations: 283.3 kB / 0.6091 GB, free: 1.887 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/1.027, allocations: 0 / 0.6091 GB, free: 1.887 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04319/1.07, allocations: 16.69 MB / 0.6254 GB, free: 1.176 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/1.07, allocations: 182 kB / 0.6256 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.776/3.847, allocations: 0 / 0.6256 GB, free: 0.9453 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)