Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_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.001612/0.001612, allocations: 182.7 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.8/1.8, allocations: 194.2 MB / 208.4 MB, free: 6.75 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.001862/0.001862, allocations: 124.7 kB / 253.5 MB, free: 9.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1706/0.1706, allocations: 37.91 MB / 336.4 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.216e-05, allocations: 4 kB / 397.6 MB, free: 0.957 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.304, allocations: 53.21 MB / 450.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.521/0.8251, allocations: 95.11 MB / 0.5332 GB, free: 31.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003869/0.8255, allocations: 90.09 kB / 0.5333 GB, free: 31.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04572/0.8713, allocations: 14.07 MB / 0.547 GB, free: 30.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.8713, allocations: 0 / 0.547 GB, free: 30.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.942e-05/0.8714, allocations: 13.41 kB / 0.547 GB, free: 30.31 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002113/0.8735, allocations: 0.8861 MB / 0.5479 GB, free: 29.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.006e-05/0.8736, allocations: 13 kB / 0.5479 GB, free: 29.77 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001922/0.8738, allocations: 103.9 kB / 0.548 GB, free: 29.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.874, allocations: 76.91 kB / 0.5481 GB, free: 29.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.8773, allocations: 1.109 MB / 0.5491 GB, free: 29.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.8776, allocations: 115.9 kB / 0.5493 GB, free: 29.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.8777, allocations: 55.22 kB / 0.5493 GB, free: 29.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.8789, allocations: 0.7382 MB / 0.55 GB, free: 29.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.879, allocations: 3.984 kB / 0.55 GB, free: 29.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.86e-05/0.879, allocations: 22.94 kB / 0.55 GB, free: 29.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.8791, allocations: 19.53 kB / 0.5501 GB, free: 29.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008436/0.8799, allocations: 0.5887 MB / 0.5506 GB, free: 29.14 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004327/0.8843, allocations: 2.732 MB / 0.5533 GB, free: 28.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.8855, allocations: 0.766 MB / 0.5541 GB, free: 27.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.8859, allocations: 288 kB / 0.5543 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.886, allocations: 3.906 kB / 0.5543 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.886, allocations: 34.25 kB / 0.5544 GB, free: 27.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 4.829e-06/0.886, allocations: 3.938 kB / 0.5544 GB, free: 27.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002439/0.8885, allocations: 1.347 MB / 0.5557 GB, free: 27.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.8885, allocations: 84.95 kB / 0.5558 GB, free: 27.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004529/0.889, allocations: 357.9 kB / 0.5561 GB, free: 26.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.889, allocations: 35.52 kB / 0.5561 GB, free: 26.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.8893, allocations: 323 kB / 0.5565 GB, free: 26.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.8894, allocations: 137.5 kB / 0.5566 GB, free: 26.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.8894, allocations: 10.44 kB / 0.5566 GB, free: 26.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8896, allocations: 365.5 kB / 0.5569 GB, free: 26.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.8899, allocations: 191.3 kB / 0.5571 GB, free: 26.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/0.8903, allocations: 305.1 kB / 0.5574 GB, free: 26.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.8906, allocations: 212.6 kB / 0.5576 GB, free: 26.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8907, allocations: 0 / 0.5576 GB, free: 26.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001021/0.8917, allocations: 0.6947 MB / 0.5583 GB, free: 25.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.8917, allocations: 7.812 kB / 0.5583 GB, free: 25.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.8917, allocations: 3.906 kB / 0.5583 GB, free: 25.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002902/0.892, allocations: 66.72 kB / 0.5584 GB, free: 25.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.8936, allocations: 379.7 kB / 0.5587 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004095/0.8977, allocations: 5.846 MB / 0.5644 GB, free: 20.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004874/0.8982, allocations: 42.19 kB / 0.5645 GB, free: 20.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.8983, allocations: 19.44 kB / 0.5645 GB, free: 20.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * 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.000163/0.8985, allocations: 150.5 kB / 0.5646 GB, free: 20.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.159e-05/0.8986, allocations: 42.97 kB / 0.5647 GB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.8996, allocations: 0.6362 MB / 0.5653 GB, free: 20.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.8996, allocations: 3.906 kB / 0.5653 GB, free: 20.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8996, allocations: 3.812 kB / 0.5653 GB, free: 20.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.8996, allocations: 7.953 kB / 0.5653 GB, free: 20.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.9018, allocations: 1.407 MB / 0.5667 GB, free: 19.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.467e-06/0.9018, allocations: 3.906 kB / 0.5667 GB, free: 19.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/0.9035, allocations: 403.9 kB / 0.5671 GB, free: 19.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000203/0.9037, allocations: 67.31 kB / 0.5672 GB, free: 19.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.466e-05/0.9037, allocations: 7.656 kB / 0.5672 GB, free: 19.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.9056, allocations: 2.84 MB / 0.5699 GB, free: 17.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9056, allocations: 0 / 0.5699 GB, free: 17.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.9069, allocations: 1.019 MB / 0.5709 GB, free: 16.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.9071, allocations: 116 kB / 0.571 GB, free: 16.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.145e-05/0.9072, allocations: 11.16 kB / 0.571 GB, free: 16.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.9075, allocations: 41.83 kB / 0.5711 GB, free: 16.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.9077, allocations: 40.95 kB / 0.5711 GB, free: 16.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.9077, allocations: 15.44 kB / 0.5711 GB, free: 16.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003718/0.9081, allocations: 286.1 kB / 0.5714 GB, free: 16.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9081, allocations: 0 / 0.5714 GB, free: 16.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008365/0.9089, allocations: 151.1 kB / 0.5716 GB, free: 16.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 36 * 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.001824/0.9108, allocations: 1.783 MB / 0.5733 GB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002093/0.9129, allocations: 0.9386 MB / 0.5742 GB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.9129, allocations: 3.875 kB / 0.5742 GB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.9146, allocations: 0.7767 MB / 0.575 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.9153, allocations: 126.2 kB / 0.5751 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.9179, allocations: 1.248 MB / 0.5763 GB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.9193, allocations: 0.961 MB / 0.5773 GB, free: 29.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003933/0.9197, allocations: 93.77 kB / 0.5773 GB, free: 29.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.92, allocations: 206.1 kB / 0.5775 GB, free: 29.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.92, allocations: 0 / 0.5775 GB, free: 29.83 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.9555, allocations: 12.05 MB / 0.5893 GB, free: 26.76 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.9558, allocations: 190.4 kB / 0.5895 GB, free: 26.53 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/3.417, allocations: 3.719 kB / 0.5895 GB, free: 26.53 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)