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.001767/0.001767, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.596/1.596, allocations: 205.2 MB / 219.4 MB, free: 14.19 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.0008229/0.000823, allocations: 86.64 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.158/0.158, allocations: 37.98 MB / 353.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.74e-05/3.743e-05, allocations: 4 kB / 417.7 MB, free: 29.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1264, allocations: 56.32 MB / 474.1 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4956, allocations: 100.2 MB / 0.5608 GB, free: 2.523 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.496, allocations: 93.73 kB / 0.5609 GB, free: 2.473 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0386/0.5346, allocations: 14.08 MB / 0.5746 GB, free: 6.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.5346, allocations: 0 / 0.5746 GB, free: 6.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.591e-05/0.5346, allocations: 20 kB / 0.5746 GB, free: 6.328 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.001577/0.5362, allocations: 0.887 MB / 0.5755 GB, free: 5.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.5363, allocations: 8.031 kB / 0.5755 GB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.5364, allocations: 83.11 kB / 0.5756 GB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/0.5391, allocations: 1.096 MB / 0.5767 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.5393, allocations: 120.1 kB / 0.5768 GB, free: 4.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.5394, allocations: 58.86 kB / 0.5768 GB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.5405, allocations: 0.7352 MB / 0.5775 GB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.5406, allocations: 0 / 0.5775 GB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/0.5406, allocations: 26.19 kB / 0.5776 GB, free: 3.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.5406, allocations: 15.95 kB / 0.5776 GB, free: 3.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008949/0.5415, allocations: 0.5926 MB / 0.5782 GB, free: 3.27 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.004013/0.5456, allocations: 2.736 MB / 0.5808 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.5467, allocations: 0.7672 MB / 0.5816 GB, free: 300 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/0.5471, allocations: 277.6 kB / 0.5818 GB, free: 112 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.5471, allocations: 8 kB / 0.5819 GB, free: 104 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.5472, allocations: 34.31 kB / 0.5819 GB, free: 64 kB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 2.305e-06/0.5472, allocations: 0 / 0.5819 GB, free: 64 kB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002144/0.5493, allocations: 1.341 MB / 0.5832 GB, free: 14.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.5494, allocations: 81.11 kB / 0.5833 GB, free: 14.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.5498, allocations: 369.1 kB / 0.5836 GB, free: 14.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.5498, allocations: 36.14 kB / 0.5837 GB, free: 14.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.55, allocations: 310.2 kB / 0.584 GB, free: 14.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.5501, allocations: 140.4 kB / 0.5841 GB, free: 14.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.5502, allocations: 11.31 kB / 0.5841 GB, free: 14.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5503, allocations: 356.8 kB / 0.5844 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.5506, allocations: 198.5 kB / 0.5846 GB, free: 13.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.551, allocations: 301 kB / 0.5849 GB, free: 13.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.5513, allocations: 221.4 kB / 0.5851 GB, free: 13.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5513, allocations: 4 kB / 0.5851 GB, free: 13.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009839/0.5523, allocations: 0.6939 MB / 0.5858 GB, free: 12.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5523, allocations: 8 kB / 0.5858 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5523, allocations: 0 / 0.5858 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.5526, allocations: 72.42 kB / 0.5859 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.5542, allocations: 379.7 kB / 0.5863 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004798/0.559, allocations: 5.855 MB / 0.592 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.5594, allocations: 50.17 kB / 0.592 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.5595, allocations: 19.94 kB / 0.592 GB, free: 6.059 MB / 394.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.0001562/0.5597, allocations: 127.5 kB / 0.5922 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/0.5597, allocations: 47.39 kB / 0.5922 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009826/0.5607, allocations: 0.6388 MB / 0.5928 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.5608, allocations: 8 kB / 0.5928 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5608, allocations: 0 / 0.5928 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5608, allocations: 0 / 0.5928 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.5628, allocations: 1.415 MB / 0.5942 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5629, allocations: 4.047 kB / 0.5942 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/0.5647, allocations: 403.5 kB / 0.5946 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001902/0.5649, allocations: 65.11 kB / 0.5947 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.5649, allocations: 15.36 kB / 0.5947 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.567, allocations: 2.827 MB / 0.5974 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.567, allocations: 4.062 kB / 0.5974 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.5688, allocations: 1.021 MB / 0.5984 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.569, allocations: 128 kB / 0.5986 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.5691, allocations: 7.875 kB / 0.5986 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.5697, allocations: 43.45 kB / 0.5986 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.5698, allocations: 35.33 kB / 0.5986 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/0.5699, allocations: 11.19 kB / 0.5987 GB, free: 15.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005099/0.5704, allocations: 290.5 kB / 0.5989 GB, free: 15.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5704, allocations: 0 / 0.5989 GB, free: 15.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001081/0.5715, allocations: 139.4 kB / 0.5991 GB, free: 15.34 MB / 410.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.0002622/0.5718, allocations: 128.8 kB / 0.5992 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003053/0.5749, allocations: 0.9498 MB / 0.6001 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5749, allocations: 0 / 0.6001 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002725/0.5776, allocations: 0.7694 MB / 0.6009 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009376/0.5786, allocations: 132.8 kB / 0.601 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.5812, allocations: 1.093 MB / 0.6021 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007973/0.582, allocations: 0.9637 MB / 0.603 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005216/0.5825, allocations: 100.6 kB / 0.6031 GB, free: 11.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.5827, allocations: 43.42 kB / 0.6031 GB, free: 11.46 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5828, allocations: 0 / 0.6031 GB, free: 11.46 MB / 410.7 MB Notification: Performance of Templates: time 0.01917/0.6019, allocations: 7.099 MB / 0.6101 GB, free: 4.387 MB / 410.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