Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.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.Inverters.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.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.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.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 177.1 kB / 8.349 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.443/1.443, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.0009019/0.000902, allocations: 83.33 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1699/0.1699, allocations: 38 MB / 348.1 MB, free: 7.766 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.184e-05/1.207e-05, allocations: 0 / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09099/0.09102, allocations: 56.33 MB / 466.9 MB, free: 6.566 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3492/0.4403, allocations: 99.2 MB / 0.5528 GB, free: 11.76 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.4406, allocations: 95.92 kB / 0.5529 GB, free: 11.66 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04021/0.4808, allocations: 14.38 MB / 0.567 GB, free: 13.11 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4809, allocations: 4 kB / 0.567 GB, free: 13.11 MB / 411.1 MB Notification: Performance of Transformations before backend: time 3.451e-05/0.4809, allocations: 16 kB / 0.567 GB, free: 13.09 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001614/0.4825, allocations: 0.8641 MB / 0.5678 GB, free: 12.18 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.4826, allocations: 12.03 kB / 0.5678 GB, free: 12.17 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.4828, allocations: 75.11 kB / 0.5679 GB, free: 12.09 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/0.4855, allocations: 1.097 MB / 0.569 GB, free: 10.95 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.4857, allocations: 104.7 kB / 0.5691 GB, free: 10.84 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.158e-05/0.4858, allocations: 32 kB / 0.5691 GB, free: 10.8 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009755/0.4868, allocations: 0.5882 MB / 0.5697 GB, free: 10.21 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/0.4878, allocations: 0.6521 MB / 0.5703 GB, free: 9.527 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.4878, allocations: 4 kB / 0.5703 GB, free: 9.523 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.4879, allocations: 11.88 kB / 0.5703 GB, free: 9.512 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.4879, allocations: 12 kB / 0.5703 GB, free: 9.5 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003531/0.4914, allocations: 2.499 MB / 0.5728 GB, free: 6.918 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.4925, allocations: 0.6949 MB / 0.5735 GB, free: 6.184 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004423/0.493, allocations: 351.5 kB / 0.5738 GB, free: 5.832 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.4931, allocations: 4.438 kB / 0.5738 GB, free: 5.828 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.4931, allocations: 42.94 kB / 0.5738 GB, free: 5.777 MB / 411.1 MB Notification: Performance of pre-optimization done (n=50): time 2.766e-06/0.4931, allocations: 0 / 0.5738 GB, free: 5.777 MB / 411.1 MB Notification: Performance of matching and sorting (n=51): time 0.00214/0.4953, allocations: 1.415 MB / 0.5752 GB, free: 4.281 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.4953, allocations: 89.55 kB / 0.5753 GB, free: 4.176 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.4956, allocations: 290.3 kB / 0.5756 GB, free: 3.891 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.4957, allocations: 29.7 kB / 0.5756 GB, free: 3.855 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.4958, allocations: 288.3 kB / 0.5759 GB, free: 3.566 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.496, allocations: 173.5 kB / 0.5761 GB, free: 3.395 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.496, allocations: 3.938 kB / 0.5761 GB, free: 3.391 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4961, allocations: 362.8 kB / 0.5764 GB, free: 3.027 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.4964, allocations: 221 kB / 0.5766 GB, free: 2.812 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.4968, allocations: 312.5 kB / 0.5769 GB, free: 2.465 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.4971, allocations: 258 kB / 0.5772 GB, free: 2.219 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4972, allocations: 0 / 0.5772 GB, free: 2.219 MB / 411.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009995/0.4982, allocations: 0.7352 MB / 0.5779 GB, free: 1.449 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4982, allocations: 4 kB / 0.5779 GB, free: 1.445 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4982, allocations: 4.375 kB / 0.5779 GB, free: 1.441 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.4984, allocations: 77.67 kB / 0.578 GB, free: 1.359 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.5001, allocations: 395.5 kB / 0.5783 GB, free: 0.9727 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004468/0.5046, allocations: 5.665 MB / 0.5839 GB, free: 10.85 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.5049, allocations: 43.84 kB / 0.5839 GB, free: 10.81 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.505, allocations: 20.12 kB / 0.5839 GB, free: 10.79 MB / 427.1 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.0001507/0.5052, allocations: 116.8 kB / 0.584 GB, free: 10.67 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.227e-05/0.5052, allocations: 39.53 kB / 0.5841 GB, free: 10.63 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.5063, allocations: 0.6988 MB / 0.5848 GB, free: 9.895 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.5063, allocations: 12 kB / 0.5848 GB, free: 9.883 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5063, allocations: 4 kB / 0.5848 GB, free: 9.879 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.5064, allocations: 3.984 kB / 0.5848 GB, free: 9.875 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.5086, allocations: 1.486 MB / 0.5862 GB, free: 8.301 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5086, allocations: 0 / 0.5862 GB, free: 8.301 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/0.5105, allocations: 427.7 kB / 0.5866 GB, free: 7.883 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/0.5108, allocations: 73.64 kB / 0.5867 GB, free: 7.805 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.5108, allocations: 8 kB / 0.5867 GB, free: 7.797 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.513, allocations: 2.757 MB / 0.5894 GB, free: 4.809 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.513, allocations: 0 / 0.5894 GB, free: 4.809 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.5145, allocations: 1.222 MB / 0.5906 GB, free: 3.48 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.623e-05/0.5146, allocations: 116.6 kB / 0.5907 GB, free: 3.348 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.5147, allocations: 15.98 kB / 0.5907 GB, free: 3.332 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.5151, allocations: 39.92 kB / 0.5908 GB, free: 3.293 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.5152, allocations: 47.86 kB / 0.5908 GB, free: 3.246 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.5153, allocations: 20 kB / 0.5908 GB, free: 3.227 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002475/0.5155, allocations: 228.6 kB / 0.5911 GB, free: 3.008 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5155, allocations: 0 / 0.5911 GB, free: 3.008 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0006469/0.5162, allocations: 136 kB / 0.5912 GB, free: 2.875 MB / 427.1 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.0002557/0.5164, allocations: 121 kB / 0.5913 GB, free: 2.75 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.002174/0.5186, allocations: 0.9888 MB / 0.5923 GB, free: 1.742 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5186, allocations: 8.375 kB / 0.5923 GB, free: 1.734 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.5206, allocations: 0.8154 MB / 0.5931 GB, free: 0.8984 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.5212, allocations: 101.2 kB / 0.5932 GB, free: 0.7969 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.5237, allocations: 1.248 MB / 0.5944 GB, free: 15.5 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.5243, allocations: 0.9525 MB / 0.5953 GB, free: 14.53 MB / 443.1 MB Notification: Performance of simCode: alias equations: time 0.0003897/0.5247, allocations: 128.5 kB / 0.5954 GB, free: 14.4 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.5248, allocations: 35.44 kB / 0.5955 GB, free: 14.37 MB / 443.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5248, allocations: 4 kB / 0.5955 GB, free: 14.36 MB / 443.1 MB Notification: Performance of Templates: time 0.01103/0.5359, allocations: 6.299 MB / 0.6016 GB, free: 8.07 MB / 443.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches