Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_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.001871/0.001871, allocations: 182 kB / 13.64 MB, free: 1.676 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.846/1.846, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001728/0.001728, allocations: 116.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1927/0.1927, allocations: 37.9 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.881e-05, allocations: 4 kB / 397.6 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3711, allocations: 53.22 MB / 450.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4902/0.8614, allocations: 94.79 MB / 0.5329 GB, free: 31.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.8617, allocations: 92.48 kB / 0.5329 GB, free: 31.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06456/0.9263, allocations: 14.5 MB / 0.5471 GB, free: 30.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.556e-06/0.9264, allocations: 0 / 0.5471 GB, free: 30.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.175e-05/0.9264, allocations: 11.53 kB / 0.5471 GB, free: 30.16 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002796/0.9293, allocations: 0.8778 MB / 0.548 GB, free: 29.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.271e-05/0.9293, allocations: 8.656 kB / 0.548 GB, free: 29.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002067/0.9296, allocations: 100.3 kB / 0.5481 GB, free: 29.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.9298, allocations: 71.81 kB / 0.5481 GB, free: 29.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005081/0.9349, allocations: 1.094 MB / 0.5492 GB, free: 29.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/0.9352, allocations: 121.2 kB / 0.5493 GB, free: 29.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002058/0.9355, allocations: 58.48 kB / 0.5494 GB, free: 29.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.9375, allocations: 0.7361 MB / 0.5501 GB, free: 29.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.9376, allocations: 0 / 0.5501 GB, free: 29.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.909e-05/0.9377, allocations: 22.41 kB / 0.5501 GB, free: 29.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.9377, allocations: 15.62 kB / 0.5501 GB, free: 29.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.9394, allocations: 0.6301 MB / 0.5508 GB, free: 29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00556/0.9449, allocations: 2.623 MB / 0.5533 GB, free: 27.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.9465, allocations: 0.7103 MB / 0.554 GB, free: 27.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005981/0.9471, allocations: 366.5 kB / 0.5544 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.217e-05/0.9472, allocations: 8.281 kB / 0.5544 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.9473, allocations: 42.72 kB / 0.5544 GB, free: 27.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 4.248e-06/0.9473, allocations: 0 / 0.5544 GB, free: 27.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.002926/0.9502, allocations: 1.515 MB / 0.5559 GB, free: 27.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.9503, allocations: 85.36 kB / 0.556 GB, free: 27.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004761/0.9507, allocations: 348.5 kB / 0.5563 GB, free: 26.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.9508, allocations: 39.48 kB / 0.5563 GB, free: 26.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.951, allocations: 285.5 kB / 0.5566 GB, free: 26.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.9512, allocations: 174.1 kB / 0.5568 GB, free: 26.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.9512, allocations: 11.59 kB / 0.5568 GB, free: 26.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9514, allocations: 364.5 kB / 0.5571 GB, free: 26.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.9517, allocations: 229.5 kB / 0.5574 GB, free: 26.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.9521, allocations: 332.6 kB / 0.5577 GB, free: 26.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.9525, allocations: 277.3 kB / 0.5579 GB, free: 26.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.9525, allocations: 0 / 0.5579 GB, free: 26.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001215/0.9538, allocations: 0.7892 MB / 0.5587 GB, free: 25.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.9538, allocations: 11.33 kB / 0.5587 GB, free: 25.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.9538, allocations: 3.906 kB / 0.5587 GB, free: 25.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/0.9541, allocations: 66.38 kB / 0.5588 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.9557, allocations: 398.1 kB / 0.5592 GB, free: 25.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004072/0.9598, allocations: 5.873 MB / 0.5649 GB, free: 20.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.9603, allocations: 45.95 kB / 0.5649 GB, free: 20.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.9604, allocations: 22.67 kB / 0.565 GB, free: 20.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.9605, allocations: 142.1 kB / 0.5651 GB, free: 20.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.9606, allocations: 50.78 kB / 0.5652 GB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.9618, allocations: 0.7423 MB / 0.5659 GB, free: 20.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.9619, allocations: 7.812 kB / 0.5659 GB, free: 20.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.9619, allocations: 0 / 0.5659 GB, free: 20.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.9619, allocations: 3.469 kB / 0.5659 GB, free: 20.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.9643, allocations: 1.606 MB / 0.5675 GB, free: 19.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9643, allocations: 7.844 kB / 0.5675 GB, free: 19.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.966, allocations: 419.6 kB / 0.5679 GB, free: 19.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002274/0.9663, allocations: 82.45 kB / 0.5679 GB, free: 19.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/0.9663, allocations: 17.81 kB / 0.568 GB, free: 19.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.9679, allocations: 2.852 MB / 0.5707 GB, free: 17.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.9679, allocations: 7.891 kB / 0.5707 GB, free: 17.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.9693, allocations: 1.271 MB / 0.572 GB, free: 16.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.9695, allocations: 116.1 kB / 0.5721 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.792e-05/0.9696, allocations: 18.97 kB / 0.5721 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.97, allocations: 41.81 kB / 0.5722 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.9701, allocations: 49.11 kB / 0.5722 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.9702, allocations: 15.06 kB / 0.5722 GB, free: 16.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003101/0.9705, allocations: 274.6 kB / 0.5725 GB, free: 16.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9705, allocations: 0 / 0.5725 GB, free: 16.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007456/0.9713, allocations: 149.7 kB / 0.5726 GB, free: 16.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001678/0.9729, allocations: 2.316 MB / 0.5749 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002599/0.9756, allocations: 1.036 MB / 0.5759 GB, free: 30.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9756, allocations: 3.625 kB / 0.5759 GB, free: 30.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.9773, allocations: 0.8289 MB / 0.5767 GB, free: 30.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/0.978, allocations: 130.5 kB / 0.5768 GB, free: 30.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.9811, allocations: 1.454 MB / 0.5783 GB, free: 29.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.9817, allocations: 0.9605 MB / 0.5792 GB, free: 29.26 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004169/0.9821, allocations: 133.3 kB / 0.5793 GB, free: 29.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.9824, allocations: 195.2 kB / 0.5795 GB, free: 29.23 MB / 394.7 MB Notification: Performance of SimCode: time 7.71e-07/0.9824, allocations: 0 / 0.5795 GB, free: 29.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/1.014, allocations: 12.28 MB / 0.5915 GB, free: 25.87 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/1.014, allocations: 181.4 kB / 0.5917 GB, free: 25.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.489, allocations: 3.938 kB / 0.5917 GB, free: 25.64 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)