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.001138/0.001139, allocations: 181 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008122/0.000812, allocations: 96.14 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1674/0.1674, allocations: 38.07 MB / 357.2 MB, free: 1.875 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002995, allocations: 15.98 kB / 424 MB, free: 37.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2887, allocations: 56.32 MB / 480.3 MB, free: 9.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.4194, allocations: 100.3 MB / 0.567 GB, free: 2.129 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4196, allocations: 95.95 kB / 0.5671 GB, free: 2.035 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03959/0.4593, allocations: 14.08 MB / 0.5808 GB, free: 3.809 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4593, allocations: 3.938 kB / 0.5808 GB, free: 3.805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.273e-05/0.4594, allocations: 12 kB / 0.5808 GB, free: 3.793 MB / 410.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.002823/0.4622, allocations: 0.9741 MB / 0.5818 GB, free: 2.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4623, allocations: 8.031 kB / 0.5818 GB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.4626, allocations: 79.11 kB / 0.5819 GB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/0.4657, allocations: 1.122 MB / 0.583 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.4659, allocations: 120.7 kB / 0.5831 GB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.4661, allocations: 59.91 kB / 0.5831 GB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.4675, allocations: 0.7867 MB / 0.5839 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.4676, allocations: 4 kB / 0.5839 GB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/0.4676, allocations: 24 kB / 0.5839 GB, free: 488 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.4676, allocations: 19.95 kB / 0.584 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.469, allocations: 0.7025 MB / 0.5846 GB, free: 15.75 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.00435/0.4734, allocations: 2.736 MB / 0.5873 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.4751, allocations: 0.9185 MB / 0.5882 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.4752, allocations: 4.062 kB / 0.5882 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4752, allocations: 46.55 kB / 0.5883 GB, free: 11.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 2.685e-06/0.4752, allocations: 0 / 0.5883 GB, free: 11.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.003632/0.4789, allocations: 1.977 MB / 0.5902 GB, free: 9.797 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.4789, allocations: 93.12 kB / 0.5903 GB, free: 9.688 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.4794, allocations: 369 kB / 0.5906 GB, free: 9.316 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.4794, allocations: 33.7 kB / 0.5907 GB, free: 9.277 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.4796, allocations: 316.2 kB / 0.591 GB, free: 8.965 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.4797, allocations: 138.1 kB / 0.5911 GB, free: 8.828 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.4798, allocations: 8 kB / 0.5911 GB, free: 8.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.4799, allocations: 358.8 kB / 0.5914 GB, free: 8.461 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.4804, allocations: 249 kB / 0.5917 GB, free: 8.219 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/0.481, allocations: 366.2 kB / 0.592 GB, free: 7.816 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.4815, allocations: 267.7 kB / 0.5923 GB, free: 7.555 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4815, allocations: 4 kB / 0.5923 GB, free: 7.551 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001321/0.4828, allocations: 0.8074 MB / 0.5931 GB, free: 6.711 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4828, allocations: 7.938 kB / 0.5931 GB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.4828, allocations: 4 kB / 0.5931 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.4831, allocations: 65.92 kB / 0.5931 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.4846, allocations: 379.5 kB / 0.5935 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00565/0.4902, allocations: 6.167 MB / 0.5995 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.4906, allocations: 47.86 kB / 0.5996 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.4907, allocations: 20 kB / 0.5996 GB, free: 15.5 MB / 442.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 () * Number of clocked 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.0003323/0.491, allocations: 233.9 kB / 0.5998 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.377e-05/0.4911, allocations: 51.42 kB / 0.5999 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.4925, allocations: 0.7426 MB / 0.6006 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.4925, allocations: 11.94 kB / 0.6006 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4925, allocations: 0 / 0.6006 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4925, allocations: 7.984 kB / 0.6006 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.495, allocations: 1.517 MB / 0.6021 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.495, allocations: 0 / 0.6021 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.4966, allocations: 403.6 kB / 0.6025 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001948/0.4968, allocations: 65.61 kB / 0.6025 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.4969, allocations: 12 kB / 0.6026 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.499, allocations: 2.852 MB / 0.6053 GB, free: 9.203 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.499, allocations: 0 / 0.6053 GB, free: 9.203 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.5008, allocations: 1.19 MB / 0.6065 GB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.501, allocations: 120.5 kB / 0.6066 GB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.5011, allocations: 12 kB / 0.6066 GB, free: 7.793 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.5014, allocations: 39.95 kB / 0.6067 GB, free: 7.754 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.5015, allocations: 35.94 kB / 0.6067 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.5015, allocations: 16 kB / 0.6067 GB, free: 7.703 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003146/0.5019, allocations: 295.1 kB / 0.607 GB, free: 7.418 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5019, allocations: 0 / 0.607 GB, free: 7.418 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006678/0.5026, allocations: 143.9 kB / 0.6071 GB, free: 7.277 MB / 442.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 () * Number of clocked 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.00022/0.5028, allocations: 123.1 kB / 0.6073 GB, free: 7.148 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002439/0.5052, allocations: 1.06 MB / 0.6083 GB, free: 6.062 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5052, allocations: 0 / 0.6083 GB, free: 6.062 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.5071, allocations: 0.8212 MB / 0.6091 GB, free: 5.215 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.5078, allocations: 137.9 kB / 0.6092 GB, free: 5.078 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.5104, allocations: 1.714 MB / 0.6109 GB, free: 3.332 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.511, allocations: 0.9601 MB / 0.6118 GB, free: 2.344 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003537/0.5114, allocations: 104.5 kB / 0.6119 GB, free: 2.242 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.5115, allocations: 35.44 kB / 0.612 GB, free: 2.207 MB / 442.7 MB Notification: Performance of SimCode: time 5.1e-07/0.5115, allocations: 0 / 0.612 GB, free: 2.207 MB / 442.7 MB Notification: Performance of Templates: time 0.01329/0.5248, allocations: 7.039 MB / 0.6188 GB, free: 11.18 MB / 458.7 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