Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008825/0.0008825, allocations: 82.94 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1769/0.1769, allocations: 37.99 MB / 348 MB, free: 7.766 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.293e-05/1.296e-05, allocations: 4 kB / 410.6 MB, free: 46.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08735/0.08737, allocations: 56.32 MB / 466.9 MB, free: 6.551 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.4342, allocations: 99.51 MB / 0.5531 GB, free: 11.39 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.4345, allocations: 91.95 kB / 0.5532 GB, free: 11.3 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0405/0.475, allocations: 13.94 MB / 0.5668 GB, free: 13.23 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.475, allocations: 0 / 0.5668 GB, free: 13.23 MB / 411.1 MB Notification: Performance of Transformations before backend: time 3.766e-05/0.4751, allocations: 16 kB / 0.5669 GB, free: 13.21 MB / 411.1 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.001754/0.4769, allocations: 0.8843 MB / 0.5677 GB, free: 12.28 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4769, allocations: 11.97 kB / 0.5677 GB, free: 12.27 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.4771, allocations: 75.11 kB / 0.5678 GB, free: 12.2 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/0.4802, allocations: 1.105 MB / 0.5689 GB, free: 11.04 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.4804, allocations: 100.7 kB / 0.569 GB, free: 10.93 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.664e-05/0.4805, allocations: 36 kB / 0.569 GB, free: 10.9 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009804/0.4815, allocations: 0.5492 MB / 0.5695 GB, free: 10.35 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.4826, allocations: 0.6598 MB / 0.5702 GB, free: 9.652 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.4826, allocations: 0 / 0.5702 GB, free: 9.652 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.655e-05/0.4827, allocations: 11.94 kB / 0.5702 GB, free: 9.641 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.4827, allocations: 15.95 kB / 0.5702 GB, free: 9.625 MB / 411.1 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.004345/0.487, allocations: 2.61 MB / 0.5728 GB, free: 6.926 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.4883, allocations: 0.7392 MB / 0.5735 GB, free: 6.133 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.4886, allocations: 265.7 kB / 0.5737 GB, free: 5.867 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.4887, allocations: 7.984 kB / 0.5738 GB, free: 5.859 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.4887, allocations: 42.55 kB / 0.5738 GB, free: 5.809 MB / 411.1 MB Notification: Performance of pre-optimization done (n=38): time 3.035e-06/0.4887, allocations: 0 / 0.5738 GB, free: 5.809 MB / 411.1 MB Notification: Performance of matching and sorting (n=39): time 0.002158/0.4909, allocations: 1.272 MB / 0.575 GB, free: 4.457 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.491, allocations: 81.11 kB / 0.5751 GB, free: 4.359 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.4913, allocations: 309.3 kB / 0.5754 GB, free: 4.055 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.4914, allocations: 29.73 kB / 0.5754 GB, free: 4.02 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.4916, allocations: 316 kB / 0.5757 GB, free: 3.703 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.4917, allocations: 142 kB / 0.5759 GB, free: 3.562 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.4918, allocations: 0 / 0.5759 GB, free: 3.562 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4919, allocations: 350.8 kB / 0.5762 GB, free: 3.211 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.4922, allocations: 185 kB / 0.5764 GB, free: 3.031 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.4925, allocations: 289.3 kB / 0.5767 GB, free: 2.703 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.4929, allocations: 211.8 kB / 0.5769 GB, free: 2.496 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4929, allocations: 0 / 0.5769 GB, free: 2.496 MB / 411.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009522/0.4938, allocations: 0.655 MB / 0.5775 GB, free: 1.809 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4939, allocations: 4 kB / 0.5775 GB, free: 1.805 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4939, allocations: 11.98 kB / 0.5775 GB, free: 1.793 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/0.4941, allocations: 70.06 kB / 0.5776 GB, free: 1.719 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.4958, allocations: 367.6 kB / 0.5779 GB, free: 1.359 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004865/0.5007, allocations: 5.637 MB / 0.5834 GB, free: 11.27 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/0.5012, allocations: 35.95 kB / 0.5835 GB, free: 11.23 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.5012, allocations: 16 kB / 0.5835 GB, free: 11.21 MB / 427.1 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.0001574/0.5014, allocations: 125 kB / 0.5836 GB, free: 11.09 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.05e-05/0.5015, allocations: 47.42 kB / 0.5837 GB, free: 11.04 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009697/0.5025, allocations: 0.5984 MB / 0.5842 GB, free: 10.41 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.5025, allocations: 7.953 kB / 0.5842 GB, free: 10.4 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5025, allocations: 0 / 0.5842 GB, free: 10.4 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5025, allocations: 3.984 kB / 0.5842 GB, free: 10.4 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.5046, allocations: 1.307 MB / 0.5855 GB, free: 9.012 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5046, allocations: 0 / 0.5855 GB, free: 9.012 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/0.5064, allocations: 391.6 kB / 0.5859 GB, free: 8.629 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002032/0.5066, allocations: 77.59 kB / 0.586 GB, free: 8.547 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.5067, allocations: 4 kB / 0.586 GB, free: 8.543 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.5088, allocations: 2.73 MB / 0.5886 GB, free: 5.578 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.5089, allocations: 7.938 kB / 0.5886 GB, free: 5.57 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.5101, allocations: 0.982 MB / 0.5896 GB, free: 4.516 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.5103, allocations: 120.5 kB / 0.5897 GB, free: 4.379 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.5104, allocations: 8.031 kB / 0.5897 GB, free: 4.371 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.5107, allocations: 31.97 kB / 0.5898 GB, free: 4.34 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.5108, allocations: 35.94 kB / 0.5898 GB, free: 4.305 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.861e-05/0.5109, allocations: 15.95 kB / 0.5898 GB, free: 4.289 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002826/0.5112, allocations: 247 kB / 0.59 GB, free: 4.051 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5112, allocations: 0 / 0.59 GB, free: 4.051 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.000677/0.5119, allocations: 124 kB / 0.5902 GB, free: 3.93 MB / 427.1 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.000224/0.5121, allocations: 121 kB / 0.5903 GB, free: 3.805 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.5142, allocations: 0.9135 MB / 0.5912 GB, free: 2.871 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.5142, allocations: 0 / 0.5912 GB, free: 2.871 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.5162, allocations: 0.7454 MB / 0.5919 GB, free: 2.105 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/0.5169, allocations: 93.83 kB / 0.592 GB, free: 2.016 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.5189, allocations: 1.072 MB / 0.593 GB, free: 0.9062 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006924/0.5196, allocations: 0.9565 MB / 0.594 GB, free: 15.93 MB / 443.1 MB Notification: Performance of simCode: alias equations: time 0.0003574/0.52, allocations: 100.3 kB / 0.5941 GB, free: 15.82 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.5201, allocations: 35.44 kB / 0.5941 GB, free: 15.79 MB / 443.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5201, allocations: 0 / 0.5941 GB, free: 15.79 MB / 443.1 MB Notification: Performance of Templates: time 0.01187/0.532, allocations: 6.037 MB / 0.6 GB, free: 9.762 MB / 443.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches